Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.7.0
type Option func(*options)
Option is a function that takes a spinner and applies a given configuration.
func WithCustomSet ¶ added in v0.7.0
WithCustomSet adds the given custom charsets the spinner.
func WithFinalMSG ¶ added in v0.7.0
WithFinalMSG adds the given string ot the spinner as the final message to be written.
func WithHiddenCursor ¶ added in v0.7.0
WithHiddenCursor hides the cursor if hideCursor = true given.
func WithPredefinedSet ¶ added in v0.7.0
WithPredefinedSet adds the given predefined charsets the spinner. https://github.com/briandowns/spinner#available-character-sets
func WithSuffix ¶ added in v0.7.0
WithSuffix adds the given string to the spinner as the suffix.
func WithWriter ¶ added in v0.7.0
WithWriter adds the given writer to the spinner. This function should be favored over directly assigning to the struct value.
Click to show internal directories.
Click to hide internal directories.