Codebase list golang-github-vbauerster-mpb / bf0e966
update example_test Vladimir Bauer 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2121 total := 100
2222 barName := "Single Bar:"
2323 // Add a bar. You're not limited to just one bar, add many if you need.
24 bar := p.AddBar(total,
24 bar := p.AddBar(int64(total),
2525 mpb.PrependDecorators(
2626 decor.Name(barName, 0, decor.DwidthSync|decor.DidentRight),
2727 decor.ETA(4, decor.DSyncSpace),