MCPcopy Index your code
hub / github.com/coder/coder / nullInt64Ptr

Function nullInt64Ptr

coderd/database/db2sdk/db2sdk.go:1670–1676  ·  view source on GitHub ↗
(v sql.NullInt64)

Source from the content-addressed store, hash-verified

1668}
1669
1670func nullInt64Ptr(v sql.NullInt64) *int64 {
1671 if !v.Valid {
1672 return nil
1673 }
1674 value := v.Int64
1675 return &value
1676}
1677
1678func nullInt32Ptr(n sql.NullInt32) *int32 {
1679 if !n.Valid {

Callers 3

chatMessageUsageFunction · 0.70
ChatDebugStepFunction · 0.70
ChatDebugRunDetailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected