Readme.md 366 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

# go-spin

 Little terminal spinner lib.

 View the [docs](http://godoc.org/github.com/tj/go-spin).

## Installation

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

## Example

```go
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
![](./go-spin.gif)

# License

 MIT