()
| 184 | } |
| 185 | |
| 186 | func ExampleOptionShowDescriptionAtLineEnd() { |
| 187 | bar := NewOptions(100, OptionSetWidth(10), OptionShowDescriptionAtLineEnd(), OptionSetDescription("hello")) |
| 188 | _ = bar.Add(10) |
| 189 | // Output: |
| 190 | // 10% |█ | [0s:0s] hello |
| 191 | } |
| 192 | |
| 193 | func ExampleOptionShowDescriptionAtLineEnd_spinner() { |
| 194 | bar := NewOptions(-1, OptionSetWidth(10), OptionShowDescriptionAtLineEnd(), OptionSetDescription("hello")) |
nothing calls this directly
no test coverage detected
searching dependent graphs…