Codebase list golang-github-vbauerster-mpb / 10e7e0c
minor: godoc edit Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
145145 // Add creates a bar which renders itself by provided BarFiller.
146146 // If `total <= 0` triggering complete event by increment methods
147147 // is disabled. If *Progress instance is done, i.e. called after
148 // (*Progress).Wait(), return err == DoneError.
148 // (*Progress).Wait(), return error == DoneError.
149149 func (p *Progress) Add(total int64, filler BarFiller, options ...BarOption) (*Bar, error) {
150150 if filler == nil {
151151 filler = NopStyle().Build()