Categorygithub.com/raoulh/go-progress
repositorypackage
0.0.0-20231127103236-e06cc96d11d9
Repository: https://github.com/raoulh/go-progress.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-progress

A Go library to display progression in console tool. Provides unicode themes with a really simple API.

example gif

Usage

To use, create a new bar with the total, and call the Set() func to update the value, and you are done.

bar := progress.New(100)

//Choose your style!
bar.Format = progress.ProgressFormats[4]

for bar.Inc() {
	time.Sleep(time.Millisecond * 20)
}

License

go-progress is released under the MIT License. See LICENSE.