Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ must
Function
must
coderd/idpsync/role_test.go:360–365 ·
view source on GitHub ↗
(value T, err error)
Source
from the content-addressed store, hash-verified
358
}
359
360
func
must[T any](value T, err error) T {
361
if
err != nil {
362
panic(err)
363
}
364
return
value
365
}
Callers
1
TestNoopNoDiff
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected