MCPcopy Index your code
hub / github.com/coder/coder / must

Function must

enterprise/cli/organizationmembers_test.go:159–164  ·  view source on GitHub ↗
(v V, err error)

Source from the content-addressed store, hash-verified

157}
158
159func must[V any](v V, err error) V {
160 if err != nil {
161 panic(err)
162 }
163 return v
164}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected