Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnComplete ¶
Types ¶
type Flow ¶
func ProgressBarSequence ¶
func ProgressBarSequence(msg string, steps ...*ProgressBarStep) Flow
type ProgressBarOption ¶
type ProgressBarOption func(step *ProgressBarStep)
func WithDisplay ¶
func WithDisplay(display string) ProgressBarOption
type ProgressBarStep ¶
type ProgressBarStep struct {
// contains filtered or unexported fields
}
func StepWithProgressBar ¶
func StepWithProgressBar(step StepFunc, opts ...ProgressBarOption) *ProgressBarStep
func (ProgressBarStep) Bar ¶
func (p ProgressBarStep) Bar() *mpb.Bar
func (ProgressBarStep) String ¶
func (p ProgressBarStep) String() string
Click to show internal directories.
Click to hide internal directories.