Versions in this module Expand all Collapse all v1 v1.20.0 Apr 17, 2022 Changes in this version type Spinner + func (s *Spinner) Unicorn(text string) v1.19.0 Apr 13, 2022 Changes in this version + var CharSets = map[int][]string + var Symbols = map[string]string + func GenerateNumberSequence(length int) []string + type Options struct + CharacterSet []string + Color string + Delay time.Duration + DisableElaspedSeconds bool + HideCursor bool + Padding int + PrefixText string + Symbol string + Text string + Writer io.Writer + type Spinner struct + Delay time.Duration + HideCursor bool + Padding int + PostUpdate func(s *Spinner) + PreUpdate func(s *Spinner) + PrefixText string + ShowElaspedSeconds bool + Symbol string + Text string + Writer io.Writer + func New(options Options) *Spinner + func (s *Spinner) Color(colors ...string) error + func (s *Spinner) Fail(text string) + func (s *Spinner) Info(text string) + func (s *Spinner) Lock() + func (s *Spinner) Restart() + func (s *Spinner) Reverse() + func (s *Spinner) Start() + func (s *Spinner) Stop() + func (s *Spinner) StopAndPersist(symbol string, text string) + func (s *Spinner) Succeed(text string) + func (s *Spinner) Unlock() + func (s *Spinner) UpdateCharSet(cs []string) + func (s *Spinner) UpdateSpeed(d time.Duration)