Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ create
Function
create
coderd/runtimeconfig/util.go:7–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
)
6
7
func
create[T any]() T {
8
var
zero T
9
//nolint:forcetypeassert
10
return
reflect.New(reflect.TypeOf(zero).Elem()).Interface().(T)
11
}
Callers
4
TestListChats
Function · 0.85
generateApps
Function · 0.85
generateApps
Function · 0.85
TestCliTemplateCreate
Function · 0.85
Calls
1
New
Method · 0.65
Tested by
4
TestListChats
Function · 0.68
generateApps
Function · 0.68
generateApps
Function · 0.68
TestCliTemplateCreate
Function · 0.68