You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// you can p.AddBar() here, but ordering will be non deterministic
@@ -77,8 +90,6 @@ own goroutine, therefore adding multiple bars is easy and safe:
77
90
}
78
91
wg.Wait() // Wait for goroutines to finish
79
92
p.Stop() // Stop mpb's rendering goroutine
80
-
// p.AddBar(1) // panic: you cannot reuse p, create new one!
81
-
fmt.Println("finish")
82
93
```
83
94
84
95

@@ -119,12 +130,6 @@ The source code: [example/io/multiple/main.go](example/io/multiple/main.go)
119
130
120
131
[Here](https://github.com/vbauerster/getparty/blob/master/cmd/getparty/decorator.go) is example from [getparty](https://github.com/vbauerster/getparty) src code.
0 commit comments