Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModule ¶
GetModule executes `go list -json -m` and writes the output to a given writer. See https://golang.org/ref/mod#go-list-m
func GetModuleGraph ¶
GetModuleGraph executes `go mod graph` and writes the output to a given writer. See https://golang.org/ref/mod#go-mod-graph
func GetModules ¶ added in v0.4.0
GetModules executes `go list -json -m all` and writes the output to a given writer. See https://golang.org/ref/mod#go-list-m
func GetVendoredModules ¶ added in v0.4.0
GetVendoredModules executes `go mod vendor -v` and writes the output to a given writer. See https://golang.org/ref/mod#go-mod-vendor
func GetVersion ¶
GetVersion returns the version of Go in the environment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.