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

Function SimpleImport

codegen/import.go:43–45  ·  view source on GitHub ↗

SimpleImport creates an import with no explicit path component.

(path string)

Source from the content-addressed store, hash-verified

41
42// SimpleImport creates an import with no explicit path component.
43func SimpleImport(path string) *ImportSpec {
44 return &ImportSpec{Path: path}
45}
46
47// GoaImport creates an import for a Goa package.
48func GoaImport(rel string) *ImportSpec {

Callers 3

WriteMethod · 0.92
ViewsFileFunction · 0.92
FilesFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected