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:      "" /* 2107 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

get.go query.go

Version
v1.18.6
Published
Aug 31, 2022
Platform
linux/amd64
Imports
21 packages
Last checked
1 minute ago

Tools for package owners.