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

Function withReadStreamingResult

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

Source from the content-addressed store, hash-verified

176}
177
178func withReadStreamingResult(t *testing.T, attrs *NamedAttributeExpr) func(*InterceptorExpr) {
179 t.Helper()
180 return func(i *InterceptorExpr) {
181 i.ReadStreamingResult = &AttributeExpr{Type: &Object{attrs}}
182 }
183}
184
185func makeMethod(t *testing.T, opts ...func(*MethodExpr)) *MethodExpr {
186 t.Helper()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected