func (p *Progress) Increment() {
	p.mutex.Lock()
	defer p.mutex.Unlock()

	if p.total <= 0 || p.processed < p.total {
		p.processed++
		p.calculatePercent()
	}
}
// Increment increments the number of processed work units. This is used to calculate the percentage.
// If total is set already, then the number of processed work units will not exceed the total.
Increment increments the number of processed work units. This is used to calculate the percentage.
If total is set already, then the number of processed work units will not exceed the total.
// Increment increments the number of processed work units . This is used to calculate the percentage . // If total is set already then the number of processed work units will not exceed the total .
func (p *Progress) Increment() {
	p.mutex.Lock()
	defer p.mutex.Unlock()
	if p.total <= 0 || p.processed < p.total {
		p.processed++
		p.calculatePercent()
	}
}
func ( p * Progress ) Increment ( ) { p . mutex . Lock ( ) defer p . mutex . Unlock ( ) if p . total <= 0 || p . processed < p . total { p . processed ++ p . calculatePercent ( ) } }
Increment increments the number of processed work units.
Increment increments the number of processed work units .