The Central Go Modules Repository

To use GoCenter:
export GOPROXY=https://gocenter.io
452
Stars
UNKNOWN
License
27,154
Downloads
May 24th 2020
Last Modified
Version:
Loading...

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