Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Pretty defines if use pretty print Pretty = true )
Functions ¶
This section is empty.
Types ¶
type Container ¶
Container holds attributes of a bar
func (*Container) GetScreenDimensions ¶
GetScreenDimensions gets the dimensions of
type ProgressBar ¶
type ProgressBar struct { Container *Container Progress int64 Total int64 Speed float64 StartTime time.Time CurrentTime time.Time Prepend string // contains filtered or unexported fields }
ProgressBar holds attributes of a bar
func (*ProgressBar) IncrBy ¶
func (p *ProgressBar) IncrBy(delta int64)
IncrBy increate progress by an number
Click to show internal directories.
Click to hide internal directories.