Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ ptr
Function
ptr
coderd/x/chatd/chatutil/chatutil_test.go:77–79 ·
view source on GitHub ↗
(value T)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
ptr[T any](value T) *T {
78
return
&value
79
}
Callers
2
TestNormalizedStringPointer
Function · 0.70
TestNormalizedEnumValue
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected