Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 366 Bytes

Readme.md

File metadata and controls

28 lines (19 loc) · 366 Bytes

go-spin

Little terminal spinner lib.

View the docs.

Installation

$ go get github.com/tj/go-spin

Example

s := spin.New()
for i := 0; i < 30; i++ {
  fmt.Printf("\r  \033[36mcomputing\033[m %s ", s.Next())
  time.Sleep(100 * time.Millisecond)
}

GIF FTW

License

MIT