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

Function responseStructPkg

http/codegen/client.go:304–309  ·  view source on GitHub ↗
(m *service.MethodData, def string)

Source from the content-addressed store, hash-verified

302}
303
304func responseStructPkg(m *service.MethodData, def string) string {
305 if m.ResultLoc != nil {
306 return m.ResultLoc.PackageName()
307 }
308 return def
309}

Callers

nothing calls this directly

Calls 1

PackageNameMethod · 0.80

Tested by

no test coverage detected