Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoFiles ¶
GoFiles is a map from package paths to the names of the buildable .go source files (.go files excluding Cgo and test files) in the package.
func AllFiles ¶
AllFiles returns a map that contains all of the non-standard library Go files that are imported by (and thus are required to build) the package at the specified file path (including the package itself) using the specified GOOS and GOARCH. If GOOS or GOARCH is empty, the default value for the current environment is used. The keys in the returned map are the package or module names and the values are a slice of the paths of the .go source files in the package (excluding Cgo and test files).