The loading
package is a minimal package, built to provide command-line interfaces with the ability to present a
simple loading wheel to display to users on their console. As time passes, the console will be updated, simulating a
"spinning" animation.
go get github.com/austintraver/loading
package main
import (
"time"
"github.com/austintraver/loading"
)
func main() {
wheel := loading.New("%s Initializing...")
wheel.Start()
time.Sleep(5 * time.Second)
}