Documentation
¶
Index ¶
- func AppPath() string
- func GoBin() (string, error)
- func GoListDepsExport(dir string, toolexec string, pkg string) (map[string]string, error)
- func GoListExportMap(pkgs []string) (map[string]string, error)
- func GoModTidy(dir string) error
- func GoPkgFiles(pkgPath string) ([]string, error)
- func GoPkgPath(pkg string) (string, error)
- func GoRoot() (string, error)
- func GoVersion() (string, error)
- func ImportsFromSource(src []byte) ([]string, error)
- func OverlayDir() string
- func TobariTempDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoListDepsExport ¶ added in v0.6.0
GoListDepsExport runs `go list -deps -export -json` with the given toolexec in the specified directory. It returns all transitive dependencies with their export file paths.
func GoListExportMap ¶
GoListExportMap runs `go list -export -json` for the given packages and returns a map of import path -> export file path.
func GoPkgFiles ¶
func ImportsFromSource ¶
ImportsFromSource extracts import packages from Go source.
func OverlayDir ¶
func OverlayDir() string
func TobariTempDir ¶
func TobariTempDir() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.