godoc upd
Vladimir Bauer
7 years ago
| 109 | 109 |
}
|
| 110 | 110 |
|
| 111 | 111 |
// Add creates a bar which renders itself by provided filler.
|
|
112 |
// Set total to 0, if you plan to update it later.
|
| 112 | 113 |
func (p *Progress) Add(total int64, filler Filler, options ...BarOption) *Bar {
|
| 113 | 114 |
if filler == nil {
|
| 114 | 115 |
filler = newDefaultBarFiller()
|