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 [-d] [-t] [-u] [-v] [-insecure] [build flags] [packages]",
	Short:     "add dependencies to current module and install them",
	Long:      "" /* 5930 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.

Source Files

get.go

Version
v1.14.3
Published
May 14, 2020
Platform
linux/amd64
Imports
18 packages
Last checked
1 minute ago

Tools for package owners.