Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoVersion ¶
GetGoVersion obtains version of locally installed Go via "go version"
Types ¶
type CleanupFunc ¶
CleanupFunc represents a function to be called once Go is no longer needed e.g. to remove any version installed temporarily per requirements
type Go ¶
type Go struct { Cmd string CleanupFunc CleanupFunc Version *version.Version }
type GoBuild ¶
type GoBuild struct { Version *version.Version DetectVendoring bool // contains filtered or unexported fields }
GoBuild represents a Go builder (to run "go build")
type GoIsInstalled ¶
type GoIsInstalled struct {
RequiredVersion version.Constraints
}
GoIsInstalled represents a checker of whether Go is installed locally
Click to show internal directories.
Click to hide internal directories.