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

Function requestStructPkg

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

Source from the content-addressed store, hash-verified

295}
296
297func requestStructPkg(m *service.MethodData, def string) string {
298 if m.PayloadLoc != nil {
299 return m.PayloadLoc.PackageName()
300 }
301 return def
302}
303
304func responseStructPkg(m *service.MethodData, def string) string {
305 if m.ResultLoc != nil {

Callers

nothing calls this directly

Calls 1

PackageNameMethod · 0.80

Tested by

no test coverage detected