progressbar: A really basic thread-safe progress bar for Golang applications
A very simple thread-safe progress bar which should work on every OS without problems. I needed a progressbar for crocand everything I tried had problems, so I made another one. In order to be OS agnostic I do not plan to support multi-line outputs.
Basic usage
Install
go get -u github.com/schollz/progressbar/v2
Basic usage
bar := progressbar.New(100) for i := 0; i < 100; i++ { bar.Add(1) time.Sleep(10 * time.Millisecond) }