Documentation ¶
Overview ¶
Package progressbar is a sample implementation of ProgressFunction interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressBar ¶
type ProgressBar struct {
*progressbar.ProgressBar
}
ProgressBar represents a progress bar that implements ProgressFunction interface.
func (*ProgressBar) Increment ¶
func (p *ProgressBar) Increment()
Increment with increase the current count on the progress bar.
func (*ProgressBar) SetMaximum ¶
func (p *ProgressBar) SetMaximum(max int)
SetMaximum sets the maximum of the progress bar.
Click to show internal directories.
Click to hide internal directories.