Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressBar ¶
type ProgressBar interface { // Incr is used to increase progress Incr() // Wait is used to wait for the rendering of the progress bar to complete Wait() // SetPrefix is used to set the prefix of progress bar SetPrefix(format string, args ...interface{}) // SetSuffix is used to set the suffix of progress bar SetSuffix(format string, args ...interface{}) }
ProgressBar implements a customizable progress bar
func GetProgressBar ¶
func GetProgressBar(ctx context.Context, count int) ProgressBar
GetProgressBar is used to get progress bar
Click to show internal directories.
Click to hide internal directories.