Skip to content

raoulh/go-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple console progress bar with unicode themes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages