MCPcopy Index your code
hub / github.com/fruitbars/simple-one-api / GetInt64

Function GetInt64

pkg/utils/pointer_utils.go:11–16  ·  view source on GitHub ↗
(ptr *int64)

Source from the content-addressed store, hash-verified

9}
10
11func GetInt64(ptr *int64) int64 {
12 if ptr != nil {
13 return *ptr
14 }
15 return 0
16}
17
18func GetInt(ptr *int) int {
19 if ptr != nil {

Callers 3

convertUsageFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected