func (s *Spinner) Start() {
	go func() {
		for {
			select {
			case <-s.ch:
				return
			default:
				time.Sleep(s.d)
				fmt.Printf("%s\b", s.charset[s.idx])
				s.idx = (s.idx + 1) % len(s.charset)
			}
		}
	}()
}
// Start will start the spinner
Start will start the spinner
// Start will start the spinner
func (s *Spinner) Start() {
	go func() {
		for {
			select {
			case <-s.ch:
				return
			default:
				time.Sleep(s.d)
				fmt.Printf("%s\b", s.charset[s.idx])
				s.idx = (s.idx + 1) % len(s.charset)
			}
		}
	}()
}
func ( s * Spinner ) Start ( ) { go func ( ) { for { select { case <- s . ch : return default : time . Sleep ( s . d ) fmt . Printf ( " \b " , s . charset [ s . idx ] ) s . idx = ( s . idx + 1 ) % len ( s . charset ) } } } ( ) }
Start will start the spinner
Start will start the spinner