diff --git a/example/io/single/main.go b/example/io/single/main.go index fca49ec..c79e787 100644 --- a/example/io/single/main.go +++ b/example/io/single/main.go @@ -37,7 +37,9 @@ p := mpb.New(nil).SetWidth(64) - bar := p.AddBar(size).PrependCounters(mpb.UnitBytes, 20).AppendETA(-6) + bar := p.AddBar(size). + PrependCounters(mpb.UnitBytes, 18, 0). + AppendETA(3, 0) // create proxy reader reader := bar.ProxyReader(resp.Body)