Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ must
Function
must
coderd/coderdtest/authorize.go:479–484 ·
view source on GitHub ↗
(value T, err error)
Source
from the content-addressed store, hash-verified
477
}
478
479
func
must[T any](value T, err error) T {
480
if
err != nil {
481
panic(err)
482
}
483
return
value
484
}
485
486
type
FakeAccessControlStore
struct
{}
487
Callers
2
RandomRBACAction
Function · 0.70
randomRBACType
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected