Codebase list golang-github-vbauerster-mpb / b3e0c65
Readme: complex example Vladimir Bauer 8 years ago
4 changed file(s) with 3 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
106106
107107 ![dynTotal.gif](examples/gifs/dynTotal.gif)
108108
109 #### [Adaptive resize](examples/prependETA/main.go)
109 #### [Complex example](examples/complex/main.go)
110110
111 ![resize.gif](examples/gifs/resize.gif)
112
113 _Note:_ don't expect much, it corrupts if resizing too fast.
111 ![complex.gif](examples/gifs/complex.gif)
114112
115113 #### [Bytes counter decorator](examples/io/multiple/main.go)
116114
1414 }
1515
1616 func main() {
17 p := mpb.New()
17 p := mpb.New(mpb.WithWidth(64))
1818 total := 200
1919 numBars := 3
2020
Binary diff not shown
examples/gifs/resize.gif less more
Binary diff not shown