Codebase list golang-github-vbauerster-mpb / 9677ec9
AppendDecorators Vladimir Bauer 8 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7070
7171 // Assuming ContentLength > 0
7272 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 ),
7476 )
7577
7678 // create proxy reader