package modget
import "cmd/go/internal/modget"
Package modget implements the module-aware “go get” command.
Index ¶
Variables ¶
var CmdGet = &base.Command{ UsageLine: "go get [-t] [-u] [-v] [build flags] [packages]", Short: "add dependencies to current module and install them", Long: "" /* 2442 byte string literal not displayed */, }
var HelpModuleGet = &base.Command{ UsageLine: "module-get", Short: "module-aware go get", Long: "" /* 275 byte string literal not displayed */+ CmdGet.UsageLine + ` ` + CmdGet.Long, }
Note that this help text is a stopgap to make the module-aware get help text available even in non-module settings. It should be deleted when the old get is deleted. It should NOT be considered to set a precedent of having hierarchical help names with dashes.
var HelpVCS = &base.Command{ UsageLine: "vcs", Short: "controlling version control with GOVCS", Long: "" /* 3775 byte string literal not displayed */, }
Source Files ¶
- Version
- v1.21.11
- Published
- May 30, 2024
- Platform
- linux/amd64
- Imports
- 24 packages
- Last checked
- 1 minute ago –
Tools for package owners.