Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Width int Stages []ProgressFunc InitMessage string // contains filtered or unexported fields }
Model is a data container used to store TUI status information.
func (Model) Init ¶
Init performs some io initialization actions, The current Init returns the first ProgressFunc to trigger the program to run.
type ProgressFunc ¶
ProgressFunc is a simple function, the progress bar will step a certain distance after each execution
Click to show internal directories.
Click to hide internal directories.