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

Function values

coderd/database/dbauthz/setup_test.go:528–534  ·  view source on GitHub ↗

values is a convenience method for creating []reflect.Value. values(workspace, template, ...) is equivalent to []reflect.Value{ reflect.ValueOf(workspace), reflect.ValueOf(template), ... }

(ins ...any)

Source from the content-addressed store, hash-verified

526// ...
527// }
528func values(ins ...any) []reflect.Value {
529 out := make([]reflect.Value, 0)
530 for _, input := range ins {
531 out = append(out, reflect.ValueOf(input))
532 }
533 return out
534}
535
536// asserts is a convenience method for creating AssertRBACs.
537//

Callers 2

ArgsMethod · 0.85
ReturnsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected