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

Function pgInt32ToIntPtr

server-source-code/internal/store/convert.go:139–145  ·  view source on GitHub ↗
(p *int32)

Source from the content-addressed store, hash-verified

137}
138
139func pgInt32ToIntPtr(p *int32) *int {
140 if p == nil {
141 return nil
142 }
143 i := int(*p)
144 return &i
145}
146
147func settingsToUpdateParams(s *models.Settings) db.UpdateSettingsParams {
148 return db.UpdateSettingsParams{

Callers 1

dbSettingToModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected