Documentation
¶
Overview ¶
Package animations provides a collection of spinner animations. Animations have been borrowed from the following sources: * https://wiki.tcl-lang.org/page/Text+Spinner * https://stackoverflow.com/questions/2685435/cooler-ascii-spinners
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Animation ¶
type Animation int
func GetAnimations ¶ added in v0.2.0
func GetAnimations() []Animation
GetAnimations returns an unsorted slice of all available animations ids.
type Properties ¶ added in v0.2.0
func (Properties) GetCharacters ¶ added in v0.2.0
func (p Properties) GetCharacters() []string
func (Properties) GetSpeed ¶ added in v0.2.0
func (p Properties) GetSpeed() time.Duration
Click to show internal directories.
Click to hide internal directories.