update example_test
Vladimir Bauer
9 years ago
| 21 | 21 | total := 100 |
| 22 | 22 | barName := "Single Bar:" |
| 23 | 23 | // 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), | |
| 25 | 25 | mpb.PrependDecorators( |
| 26 | 26 | decor.Name(barName, 0, decor.DwidthSync|decor.DidentRight), |
| 27 | 27 | decor.ETA(4, decor.DSyncSpace), |