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

Function pgTimePtr

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

Source from the content-addressed store, hash-verified

503}
504
505func pgTimePtr(t pgtype.Timestamp) *time.Time {
506 if t.Valid {
507 return &t.Time
508 }
509 return nil
510}
511
512func pgInt32ToInt(p *int32) *int {
513 if p == nil {

Callers 11

dbSettingToModelFunction · 0.85
dbUserSessionToModelFunction · 0.85
dbDockerContainerToModelFunction · 0.85
dbDockerImageToModelFunction · 0.85
dbDockerNetworkToModelFunction · 0.85
dbUserToModelFunction · 0.85
dbHostToModelFunction · 0.85
GetDashboardMethod · 0.85
RowToTokenListItemFunction · 0.85
IDRowToTokenListItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected