(t pgtype.Timestamp)
| 1422 | } |
| 1423 | |
| 1424 | func pgTimeToISO(t pgtype.Timestamp) string { |
| 1425 | if t.Valid { |
| 1426 | return t.Time.UTC().Format(time.RFC3339) |
| 1427 | } |
| 1428 | return "" |
| 1429 | } |
| 1430 | |
| 1431 | func patchRunToResponse(r *db.GetPatchRunByIDRow) map[string]interface{} { |
| 1432 | m := map[string]interface{}{ |
no outgoing calls
no test coverage detected