MCPcopy Index your code
hub / github.com/google/go-github / Ptr

Function Ptr

tools/redundantptr/testdata/src/no-warnings/github.go:42–44  ·  view source on GitHub ↗
(v T)

Source from the content-addressed store, hash-verified

40func String(v string) *string { return Ptr(v) }
41
42func Ptr[T any](v T) *T {
43 return &v
44}

Callers 6

mainFunction · 0.70
BoolFunction · 0.70
IntFunction · 0.70
Int64Function · 0.70
StringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected