1
0
Fork 0
mirror of https://github.com/Luzifer/gallery.git synced 2024-11-14 00:42:43 +00:00
gallery/vendor/github.com/cheggaaa/pb/preset.go
Knut Ahlers 7eea7aaa62
Vendor dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-28 22:10:37 +02:00

17 lines
801 B
Go

package pb
import ()
var (
// Full - preset with all default available elements
// Example: 'Prefix 20/100 [-->______] 20% 1 p/s ETA 1m Suffix'
Full ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{bar . }} {{percent . }} {{speed . }} {{rtime . "ETA %s"}}{{string . "suffix"}}`
// Default - preset like Full but without elapsed time
// Example: 'Prefix 20/100 [-->______] 20% 1 p/s ETA 1m Suffix'
Default ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{bar . }} {{percent . }} {{speed . }}{{string . "suffix"}}`
// Simple - preset without speed and any timers. Only counters, bar and percents
// Example: 'Prefix 20/100 [-->______] 20% Suffix'
Simple ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{bar . }} {{percent . }}{{string . "suffix"}}`
)