GetElapsedTime returns the elapsed time since the loop started.
()
| 2222 | |
| 2223 | // GetElapsedTime returns the elapsed time since the loop started. |
| 2224 | func (a *App) GetElapsedTime() time.Duration { |
| 2225 | if a.startTime.IsZero() { |
| 2226 | return 0 |
| 2227 | } |
| 2228 | return time.Since(a.startTime) |
| 2229 | } |
| 2230 | |
| 2231 | // GetCompletionPercentage returns the percentage of completed stories. |
| 2232 | func (a *App) GetCompletionPercentage() float64 { |
no outgoing calls
no test coverage detected