Files
coder/aibridge/utils/ptr.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
91 B
Go
Raw Normal View History

package utils
// PtrTo returns a reference to v.
func PtrTo[T any](v T) *T {
return &v
}