remove unused structs
Vladimir Bauer
9 years ago
| 53 | 53 | func (s *Statistics) eta() time.Duration { |
| 54 | 54 | return time.Duration(s.Total-s.Completed) * s.TimePerItemEstimate |
| 55 | 55 | } |
| 56 | ||
| 57 | // type redrawRequest struct { | |
| 58 | // respCh chan []byte | |
| 59 | // } | |
| 60 | ||
| 61 | // type progressRequest struct { | |
| 62 | // respCh chan int | |
| 63 | // } | |
| 64 | 56 | |
| 65 | 57 | func newBar(total, width int, wg *sync.WaitGroup) *Bar { |
| 66 | 58 | b := &Bar{ |