MCPcopy Create free account
hub / github.com/baidubce/bce-sdk-go / Int32PtrToString

Function Int32PtrToString

util/string.go:164–169  ·  view source on GitHub ↗
(p *int32)

Source from the content-addressed store, hash-verified

162}
163
164func Int32PtrToString(p *int32) string {
165 if p == nil {
166 return ""
167 }
168 return strconv.FormatInt(int64(*p), 10)
169}
170func PtrInt(v int) *int { return &v }
171func PtrInt32(v int32) *int32 { return &v }
172func PtrInt64(v int64) *int64 { return &v }

Callers 1

ListEipTransferMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…