minor: godoc
Vladimir Bauer
3 years ago
| 111 | 111 | return p.New(total, SpinnerStyle(), options...) |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | // New creates a bar with provided BarFillerBuilder. | |
| 114 | // New creates a bar by calling `Build` method on provided `BarFillerBuilder`. | |
| 115 | 115 | func (p *Progress) New(total int64, builder BarFillerBuilder, options ...BarOption) *Bar { |
| 116 | 116 | return p.AddFiller(total, builder.Build(), options...) |
| 117 | 117 | } |