Codebase list golang-github-vbauerster-mpb / d5307c8
SetTotal: drop not relevant godoc comment Vladimir Bauer 8 years ago
1 changed file(s) with 0 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
236236
237237 // SetTotal sets total dynamically. The final param indicates the very last set,
238238 // in other words you should set it to true when total is determined.
239 // Also you may consider providing your drop ratio via BarDropRatio BarOption func.
240239 func (b *Bar) SetTotal(total int64, final bool) {
241240 select {
242241 case b.ops <- func(s *bState) {