diff --git a/progress.go b/progress.go index 6bae4c2..03fc628 100644 --- a/progress.go +++ b/progress.go @@ -98,6 +98,7 @@ return p.Add(total, filler, options...) } +// Add creates a bar which renders itself by provided filler. func (p *Progress) Add(total int64, filler Filler, options ...BarOption) *Bar { p.wg.Add(1) result := make(chan *Bar)