Rename Statistics.Id to Statistics.ID
Vladimir Bauer
9 years ago
| 37 | 37 | // Statistics represents statistics of the progress bar. |
| 38 | 38 | // Cantains: Total, Current, TimeElapsed, TimePerItemEstimate |
| 39 | 39 | type Statistics struct { |
| 40 | Id int | |
| 40 | ID int | |
| 41 | 41 | Completed bool |
| 42 | 42 | Total int64 |
| 43 | 43 | Current int64 |
| 501 | 501 | |
| 502 | 502 | func newStatistics(s *state) *Statistics { |
| 503 | 503 | return &Statistics{ |
| 504 | Id: s.id, | |
| 504 | ID: s.id, | |
| 505 | 505 | Completed: s.completed, |
| 506 | 506 | Total: s.total, |
| 507 | 507 | Current: s.current, |