Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Spinner ¶
type Spinner interface { Helper() // Start spinning the spinner. Start() // Done stops the spinner and prints a success icon. Done() // DoneMsg stops the spinner and sets the success icon with a new message. DoneMsg(msg string) // Error prints the error to the spinner, stops the spinner, then returns the error // so that you can continue passing it if needed. Error(err error) error // Message writes a message to the current spinner displayed alongside the initial job message. Message(msg string) }
Click to show internal directories.
Click to hide internal directories.