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
476 Stars 21 Forks MIT License 17 Commits 5 Opened issues

Description

Terminal spinner package for Golang

Services available

!
?

Need anything else?

Contributors list

# 79
JavaScr...
Node.js
lambda
bdd
5 commits
# 39,216
Gulp
css-fra...
html-mi...
Bootstr...
2 commits
# 111,490
golang
dataloa...
GraphQL
schema-...
1 commit
# 290,510
Go
soap-cl...
golang
wsdl
1 commit
# 5,527
esnext
ecmascr...
specifi...
Electro...
1 commit
# 48,372
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.