Need help with go-spin?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

tj
466 Stars 20 Forks 16 Commits 6 Opened issues

Description

Terminal spinner package for Golang

Services available

!
?

Need anything else?

Contributors list

# 68
JavaScr...
Node.js
tdd
bdd
4 commits
# 35,165
Gulp
Socket....
css-fra...
html-mi...
2 commits
# 111,089
golang
codegen
dataloa...
GraphQL
1 commit
# 283,220
Shell
Bash
Go
soap-cl...
1 commit
# 5,437
esnext
ecmascr...
specifi...
Electro...
1 commit
# 44,532
travis-...
JavaScr...
PHP
jQuery
1 commit

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.