Codebase list golang-github-vbauerster-mpb / f1fb990
readme update Vladimir Bauer 7 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3838 name := "Single Bar:"
3939 // adding a single bar
4040 bar := p.AddBar(int64(total),
41 // override default "[=>-]" style
42 mpb.BarStyle("╢▌▌░╟"),
41 // override default "[=>-]" style
42 mpb.BarStyle("╢▌▌░╟"),
4343 mpb.PrependDecorators(
4444 // display our name with one space on the right
4545 decor.Name(name, decor.WC{W: len(name) + 1, C: decor.DidentRight}),