Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Progress ¶
type Progress interface { Type() ProgressType Next() Value() interface{} Percent() int }
Progress
type SimpleProgress ¶
type SimpleProgress struct {
// contains filtered or unexported fields
}
func NewSimpleProgress ¶
func NewSimpleProgress(values []string) *SimpleProgress
func (*SimpleProgress) Next ¶
func (p *SimpleProgress) Next()
func (*SimpleProgress) NextValue ¶
func (p *SimpleProgress) NextValue() string
func (*SimpleProgress) Value ¶
func (p *SimpleProgress) Value() string
type SimpleSimpleProgress ¶
type SimpleSimpleProgress []string
var ( SimpleColorValue SimpleSimpleProgress = []string{ "\033[36m[/]\033[m", "\033[36m[-]\033[m", "\033[36m[\\]\033[m", "\033[36m[|]\033[m", } SimpleSpinnerValue = []string{"⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"} )
Click to show internal directories.
Click to hide internal directories.