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

Function pgTime

server-source-code/internal/store/convert.go:498–503  ·  view source on GitHub ↗
(t pgtype.Timestamp)

Source from the content-addressed store, hash-verified

496}
497
498func pgTime(t pgtype.Timestamp) time.Time {
499 if t.Valid {
500 return t.Time
501 }
502 return time.Time{}
503}
504
505func pgTimePtr(t pgtype.Timestamp) *time.Time {
506 if t.Valid {

Callers 15

GetByHostMethod · 0.70
dbRolePermissionToModelFunction · 0.70
dbSettingToModelFunction · 0.70
dbUserSessionToModelFunction · 0.70
dbHostGroupToModelFullFunction · 0.70
dbDashboardLayoutToModelFunction · 0.70
dbDockerContainerToModelFunction · 0.70
dbDockerImageToModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected