AppendDecorators
Vladimir Bauer
8 years ago
| 70 | 70 |
|
| 71 | 71 |
// Assuming ContentLength > 0
|
| 72 | 72 |
bar := p.AddBar(resp.ContentLength,
|
| 73 | |
decor.CountersKibiByte("%6.1f / %6.1f", 12, 0),
|
|
73 |
mpb.AppendDecorators(
|
|
74 |
decor.CountersKibiByte("%6.1f / %6.1f", 12, 0),
|
|
75 |
),
|
| 74 | 76 |
)
|
| 75 | 77 |
|
| 76 | 78 |
// create proxy reader
|