remove spaces
Vladimir Bauer
8 years ago
| 219 | 219 | // For example expected progress duration is one hour. |
| 220 | 220 | // age = 3600 / 2 |
| 221 | 221 | // |
| 222 | // `startBlock` is channel, user suppose to send time.Now() on each iteration of block start. | |
| 223 | // | |
| 224 | // `wc` optional WC config | |
| 222 | // `startBlock` is channel, user suppose to send time.Now() on each iteration of block start. | |
| 223 | // | |
| 224 | // `wc` optional WC config | |
| 225 | 225 | func ETA(style int, age float64, startBlock chan time.Time, wc ...WC) Decorator { |
| 226 | 226 | var wc0 WC |
| 227 | 227 | if len(wc) > 0 { |