diff --git a/progress.go b/progress.go index da8d206..2af6f69 100644 --- a/progress.go +++ b/progress.go @@ -93,6 +93,7 @@ return p.add(total, args...) } +// AddSpinner creates a new spinner bar and adds to the container. func (p *Progress) AddSpinner(total int64, alignment SpinnerAlignment, options ...BarOption) *Bar { // make sure filler is initialized first args := []BarOption{