Gopher
Gopher renders little `( ◔ ౪◔)´ to the command line.
Use gopher just for pure fun or more meaningful as a loading spinner.
Installation
Install gopher with a simple
$ go get github.com/toashd/gopher
Usage
Import the gopher package
import "github.com/toashd/gopher"
Create a new gopher
g := gopher.New()
g.Start()
time.Sleep(4 * time.Second)
g.SetActivity(gopher.Loving)
g.SetColor(gopher.Magenta)
g.SetPrefix(gopher.Loving.String())
g.SetSuffix("golang")
time.Sleep(4 * time.Second)
g.Stop()
To simply print a gopher use
fmt.Println(g)
Gopher currently supports four different gopher activities: Waiting, Wondering, Boring, and Loving.
Want to see gophers in action, checkout the examples or build your own!
Contribution
Please feel free to suggest any kind of improvements, refactorings or just more funny gopher activities.
Get in touch, file an issue, fork and submit a pull request.
Get in touch
Tobias Schmid, @toashd
License
Gopher is available under the MIT license. See the LICENSE file for more info.