()
| 208 | } |
| 209 | |
| 210 | func ExampleProgressBar_ChangeMax() { |
| 211 | bar := NewOptions(100, OptionSetWidth(10), OptionSetPredictTime(false)) |
| 212 | bar.ChangeMax(50) |
| 213 | bar.Add(50) |
| 214 | // Output: |
| 215 | // 100% |██████████| |
| 216 | } |
| 217 | |
| 218 | func ExampleProgressBar_AddMax() { |
| 219 | bar := NewOptions(50, OptionSetWidth(10), OptionSetPredictTime(false)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…