MCPcopy Create free account
hub / github.com/goadesign/goa / withReadResult

Function withReadResult

expr/interceptor_test.go:164–169  ·  view source on GitHub ↗
(t *testing.T, attrs *NamedAttributeExpr)

Source from the content-addressed store, hash-verified

162}
163
164func withReadResult(t *testing.T, attrs *NamedAttributeExpr) func(*InterceptorExpr) {
165 t.Helper()
166 return func(i *InterceptorExpr) {
167 i.ReadResult = &AttributeExpr{Type: &Object{attrs}}
168 }
169}
170
171func withReadStreamingPayload(t *testing.T, attrs *NamedAttributeExpr) func(*InterceptorExpr) {
172 t.Helper()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected