Codebase list golang-github-vbauerster-mpb / 342ba6b
examples update Vladimir Bauer 9 years ago
4 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
5757
5858 wg.Wait()
5959 p.Stop()
60 // p.AddBar(1) // panic: you cannot reuse p, create new one!
6061 fmt.Println("stop")
61 // p.AddBar(1) // panic: send on closed channnel
6262 }
5757
5858 wg.Wait()
5959 p.Stop()
60 // p.AddBar(1) // panic: you cannot reuse p, create new one!
6061 fmt.Println("stop")
61 // p.AddBar(1) // panic: send on closed channnel
6262 }
6262
6363 wg.Wait()
6464 p.Stop()
65 // p.AddBar(1) // panic: you cannot reuse p, create new one!
6566 fmt.Println("stop")
66 // p.AddBar(1) // panic: send on closed channnel
6767 }
5656
5757 wg.Wait()
5858 p.Stop()
59 // p.AddBar(1) // panic: you cannot reuse p, create new one!
5960 fmt.Println("stop")
60 // p.AddBar(1) // panic: send on closed channnel
6161 }
6262
6363 func getDecor() mpb.DecoratorFunc {