Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 150ms per frame DEFAULT_FRAME_RATE = time.Millisecond * 150 )
Variables ¶
View Source
var DefaultCharset = []string{"⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"}
Functions ¶
This section is empty.
Types ¶
type Spinner ¶
type Spinner struct { sync.Mutex Title string Charset []string FrameRate time.Duration Output io.Writer NoTty bool // contains filtered or unexported fields }
func (*Spinner) SetCharset ¶
set custom spinner character set
Click to show internal directories.
Click to hide internal directories.