A GO lang command line tool to show a spinner as you wait for some long running jobs to finish.
This is a simple project but carries a tremendous value to me [❤️].
Install chin:
go get -u github.com/adhocore/chin
Use in Go code with WaitGroup:
var wg sync.WaitGroup
s := chin.New().WithWait(&wg)
go s.Start()
// invoke some long running task
// (you can also call s.Stop() from that task)
longTask(&wg)
s.Stop()
wg.Wait()
Refer example for more (there is also one without waitgroup).
To run the examples:
go run examples/main.go

My other golang projects you might find interesting and useful:
adhocore/chin.)