MCPcopy Create free account
hub / github.com/PatchMon/PatchMon / pgInt32ToInt

Function pgInt32ToInt

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

Source from the content-addressed store, hash-verified

510}
511
512func pgInt32ToInt(p *int32) *int {
513 if p == nil {
514 return nil
515 }
516 i := int(*p)
517 return &i
518}
519
520func dbHostGroupToModel(r db.GetHostGroupsForHostsRow) models.HostGroup {
521 return models.HostGroup{

Callers 1

dbHostToModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected