()
| 177 | } |
| 178 | |
| 179 | func ExampleOptionSetPredictTime() { |
| 180 | bar := NewOptions(100, OptionSetWidth(10), OptionSetPredictTime(false)) |
| 181 | _ = bar.Add(10) |
| 182 | // Output: |
| 183 | // 10% |█ | |
| 184 | } |
| 185 | |
| 186 | func ExampleOptionShowDescriptionAtLineEnd() { |
| 187 | bar := NewOptions(100, OptionSetWidth(10), OptionShowDescriptionAtLineEnd(), OptionSetDescription("hello")) |
nothing calls this directly
no test coverage detected
searching dependent graphs…