(value T, err error)
| 1421 | } |
| 1422 | |
| 1423 | func must[T any](value T, err error) T { |
| 1424 | if err != nil { |
| 1425 | panic(err) |
| 1426 | } |
| 1427 | return value |
| 1428 | } |
| 1429 | |
| 1430 | type MockAuthorizer struct { |
| 1431 | AuthorizeFunc func(context.Context, Subject, policy.Action, Object) error |
no outgoing calls
no test coverage detected