godoc misspell fixes
Vladimir Bauer
8 years ago
| 37 | 37 |
done chan struct{}
|
| 38 | 38 |
shutdown chan struct{}
|
| 39 | 39 |
|
| 40 | |
// it's guaranted that cacheState isn't nil, after done channel is closed
|
|
40 |
// it's guaranteed that cacheState isn't nil, after done is closed
|
| 41 | 41 |
cacheState *bState
|
| 42 | 42 |
}
|
| 43 | 43 |
|
| 129 | 129 |
|
| 130 | 130 |
// Wait first waits for all bars to complete, then waits for user provided WaitGroup, if any.
|
| 131 | 131 |
// It's optional to call, in other words if you don't call Progress.Wait(),
|
| 132 | |
// it's not guaranted that all bars will be flushed completely to the underlying io.Writer.
|
|
132 |
// it's not guaranteed that all bars will be flushed completely to the underlying io.Writer.
|
| 133 | 133 |
func (p *Progress) Wait() {
|
| 134 | 134 |
<-p.done
|
| 135 | 135 |
}
|