Skip to content

falun/golang-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-progress

What?

It's a progress indicator for your terminal apps. In go.

spinning progress indicator gif

Why?

It's cute and better than a screen full of dots.

How?

Trivially!

If you're cool with the custom animation you just call:

p := progress.NewSpinner()
p.Start("Some message")

If you want a custom animation that comes bundled with the backage then you can:

p := progress.NewSpinnerWithFrames(progress.Animation["growVertical"])
p.Start("Your message")

When your command finishes just call p.Stop() or p.Stopln()

Demo code is available here.

About

It's a progress indicator for your terminal. In go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages