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

Function must

codersdk/deployment_test.go:567–572  ·  view source on GitHub ↗
(value T, err error)

Source from the content-addressed store, hash-verified

565}
566
567func must[T any](value T, err error) T {
568 if err != nil {
569 panic(err)
570 }
571 return value
572}
573
574func TestAIGatewayCompatibilityAliases(t *testing.T) {
575 t.Parallel()

Callers 1

TestTimezoneOffsetsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected