Skip to content

Latest commit

 

History

History
executable file
·
24 lines (15 loc) · 553 Bytes

README.md

File metadata and controls

executable file
·
24 lines (15 loc) · 553 Bytes

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.