Codebase list golang-github-vbauerster-mpb / 791414f
misspell fix Vladimir Bauer 5 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
9999 }
100100
101101 // AddBar creates a bar with default bar filler. Different filler can
102 // be choosen and applied via `*Progress.Add(...) *Bar` method.
102 // be chosen and applied via `*Progress.Add(...) *Bar` method.
103103 func (p *Progress) AddBar(total int64, options ...BarOption) *Bar {
104104 return p.Add(total, NewBarFiller(BarStyle()), options...)
105105 }
106106
107107 // AddSpinner creates a bar with default spinner filler. Different
108 // filler can be choosen and applied via `*Progress.Add(...) *Bar`
108 // filler can be chosen and applied via `*Progress.Add(...) *Bar`
109109 // method.
110110 func (p *Progress) AddSpinner(total int64, options ...BarOption) *Bar {
111111 return p.Add(total, NewBarFiller(SpinnerStyle()), options...)