Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractImports ¶
ExtractImports parses the metafile JSON and returns a unique list of "go:*" imports It filters out core internal modules (fmt, os, sync, net/http, memory, crypto) leaving only the external ones that need shimming/installing.
Types ¶
type ImportInfo ¶
type ImportInfo struct {
Path string `json:"path"`
}
type InputFile ¶
type InputFile struct {
Imports []ImportInfo `json:"imports"`
}
Click to show internal directories.
Click to hide internal directories.