SetTotal: drop not relevant godoc comment
Vladimir Bauer
8 years ago
| 236 | 236 | |
| 237 | 237 | // SetTotal sets total dynamically. The final param indicates the very last set, |
| 238 | 238 | // 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. | |
| 240 | 239 | func (b *Bar) SetTotal(total int64, final bool) { |
| 241 | 240 | select { |
| 242 | 241 | case b.ops <- func(s *bState) { |