godoc fix
Vladimir Bauer
8 years ago
| 15 | 15 | // the previous N samples to average over. If zero value provided, it defaults to 30. |
| 16 | 16 | // |
| 17 | 17 | // `startBlock` is a time.Time receive channel. User suppose to send time.Now() |
| 18 | // to this channel on each iteration of block start, right before actual job. | |
| 19 | // The channel will be closed automatically on bar shutdown event, so there is | |
| 20 | // no need to close from user side. | |
| 18 | // to this channel on each iteration of block start, right before actual job. | |
| 19 | // The channel will be closed automatically on bar shutdown event, so there is | |
| 20 | // no need to close from user side. | |
| 21 | 21 | // |
| 22 | 22 | // `wc` optional WC config |
| 23 | 23 | func ETA(style int, age float64, startBlock chan time.Time, wc ...WC) Decorator { |