MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / nullInt64Ptr

Function nullInt64Ptr

internal/store/sqlite/store.go:534–540  ·  view source on GitHub ↗
(v sql.NullInt64)

Source from the content-addressed store, hash-verified

532}
533
534func nullInt64Ptr(v sql.NullInt64) *int64 {
535 if !v.Valid {
536 return nil
537 }
538 value := v.Int64
539 return &value
540}
541
542func boolToInt(v bool) int {
543 if v {

Callers 1

loadGuildConfigsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected