(now func() time.Time)
| 202 | } |
| 203 | |
| 204 | func cliNow(now func() time.Time) time.Time { |
| 205 | if now == nil { |
| 206 | return time.Now().UTC() |
| 207 | } |
| 208 | return now().UTC() |
| 209 | } |
| 210 | |
| 211 | func taskInspectUnknownIDRecord(id string, asOf time.Time) TaskInspectRecord { |
| 212 | return TaskInspectRecord{ |
no test coverage detected