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