MCPcopy Index your code
hub / github.com/PatchMon/PatchMon / pgTimeToISO

Function pgTimeToISO

server-source-code/internal/handler/patching.go:1424–1429  ·  view source on GitHub ↗
(t pgtype.Timestamp)

Source from the content-addressed store, hash-verified

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

Callers 8

ListPoliciesMethod · 0.85
GetPolicyMethod · 0.85
CreatePolicyMethod · 0.85
UpdatePolicyMethod · 0.85
ListPolicyAssignmentsMethod · 0.85
AddPolicyAssignmentMethod · 0.85
patchRunToResponseFunction · 0.85
patchRunRowToMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected