Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoEnv ¶
type GoEnv struct {
Filter []string // Filter defines a subset of vars to returns. Leave empty to return all.
}
GoEnv collects the info about the Go environment using the go env tool
type GoMod ¶
type GoMod struct { //Module is the module to look for into WorkDir and GOPATH as fallback. // If not specified the module present in WorkDir will be returned, if any. Module string // WorkDir is the directory where to look for the go module. If not // specified, default to current directory. WorkDir string }
GoMod returns the info about a Go module The info returned are defined into goModInfo
Click to show internal directories.
Click to hide internal directories.