edit comment
Vladimir Bauer
6 years ago
| 16 | 16 | // BarFiller interface. |
| 17 | 17 | // Bar renders itself by calling BarFiller's Fill method. You can |
| 18 | 18 | // literally have any bar kind, by implementing this interface and |
| 19 | // passing it to the *Progress.Add method. | |
| 19 | // passing it to the *Progress.Add(...) *Bar method. | |
| 20 | 20 | type BarFiller interface { |
| 21 | 21 | Fill(w io.Writer, width int, stat *decor.Statistics) |
| 22 | 22 | } |