Track if last key pressed was 'g' for gg navigation LoadProgress tracks loading progress
| 51 | |
| 52 | // LoadProgress tracks loading progress |
| 53 | type LoadProgress struct { |
| 54 | TotalBytes int64 |
| 55 | LoadedBytes int64 |
| 56 | IsComplete bool |
| 57 | } |
| 58 | |
| 59 | // GetPercentage returns the loading percentage (0-100) |
| 60 | func (lp *LoadProgress) GetPercentage() float64 { |
nothing calls this directly
no outgoing calls
no test coverage detected