Skip to content
Terminal spinner package for Golang
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example fmt Dec 17, 2015
Readme.md Merge branch 'master' of github.com:visionmedia/go-spin Oct 20, 2014
go-spin.gif
spin.go add mutex Aug 3, 2017

Readme.md

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

You can’t perform that action at this time.