OptionShowTotalBytes will keep the display of total bytes.
(flag bool)
| 336 | |
| 337 | // OptionShowTotalBytes will keep the display of total bytes. |
| 338 | func OptionShowTotalBytes(flag bool) Option { |
| 339 | return func(p *ProgressBar) { |
| 340 | p.config.showTotalBytes = flag |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | // OptionSetItsString sets what's displayed for iterations a second. The default is "it" which would display: "it/s" |
| 345 | func OptionSetItsString(iterationString string) Option { |
no outgoing calls
searching dependent graphs…