comment update
Vladimir Bauer
9 years ago
| 35 | 35 | defer dest.Close() |
| 36 | 36 | |
| 37 | 37 | p := mpb.New().SetWidth(64) |
| 38 | // if you omit following line, download will complete fine, but rendering bar | |
| 38 | // if you omit the following line, download will complete fine, but rendering bar | |
| 39 | 39 | // may not complete, thus better always use even in single thread. |
| 40 | 40 | p.Wg.Add(1) |
| 41 | 41 |