Categorygithub.com/tj/go-spin
modulepackage
1.1.0
Repository: https://github.com/tj/go-spin.git
Documentation: pkg.go.dev

# README

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

# Packages

No description provided by the author

# Functions

New returns a spinner initialized with Default frames.

# Variables

Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.
Spinner types.

# Structs

Spinner is exactly what you think it is.