progressbar.go
func (b *ProgressBar) SetLimits(min, max int) {
	b.min = min
	b.max = max

	if b.value < b.min {
		b.value = min
	}
	if b.value > b.max {
		b.value = max
	}
}
func (b *ProgressBar) SetLimits(min, max int) {
	b.min = min
	b.max = max

	if b.value < b.min {
		b.value = min
	}
	if b.value > b.max {
		b.value = max
	}
}
func ( b * ProgressBar ) SetLimits ( min , max int ) { b . min = min b . max = max if b . value < b . min { b . value = min } if b . value > b . max { b . value = max } }
// SetLimits set new ProgressBar limits. The current value
// is adjusted if it exceeds new limits
SetLimits set new ProgressBar limits . The current value is adjusted if it exceeds new limits