Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Empty
Function
Empty
coderd/audit/diff.go:57–60 ·
view source on GitHub ↗
Empty returns a default value of type T.
()
Source
from the content-addressed store, hash-verified
55
56
// Empty returns a default value of type T.
57
func
Empty[T Auditable]() T {
58
var
t T
59
return
t
60
}
61
62
// Diff compares two auditable resources and produces a Map of the changed
63
// values.
Callers
1
Test_diff
Function · 0.92
Calls
no outgoing calls
Tested by
1
Test_diff
Function · 0.74