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

Function PtrTo

aibridge/utils/ptr.go:4–6  ·  view source on GitHub ↗

PtrTo returns a reference to v.

(v T)

Source from the content-addressed store, hash-verified

2
3// PtrTo returns a reference to v.
4func PtrTo[T any](v T) *T {
5 return &v
6}

Calls

no outgoing calls