Codebase list golang-github-vbauerster-mpb / 945c316
sync README with actual examples Vladimir Bauer 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8080 // if you still need p.AddBar() here and maintain ordering, use
8181 // (*mpb.Progress).BeforeRenderFunc(f mpb.BeforeRender)
8282 for i := 0; i < 100; i++ {
83 time.Sleep(time.Duration(rand.Intn(100)) * time.Millisecond)
8384 bar.Incr(1)
84 time.Sleep(time.Duration(rand.Intn(100)) * time.Millisecond)
8585 }
8686 }()
8787 }