a progress-bar with golang
go get -u github.com/jony-lee/go-progress-bar
package main
import (
"time"
progress "github.com/jony-lee/go-progress-bar"
)
func main() {
bar := progress.New(100)
for i := 0; i < 100; i++ {
time.Sleep(time.Second / 10)
bar.Done(1)
}
bar.Finish()
}