...
Source file src/pkg/cmd/go/internal/modcmd/mod.go
1
2
3
4
5
6 package modcmd
7
8 import "cmd/go/internal/base"
9
10 var CmdMod = &base.Command{
11 UsageLine: "go mod",
12 Short: "module maintenance",
13 Long: `Go mod provides access to operations on modules.
14
15 Note that support for modules is built into all the go commands,
16 not just 'go mod'. For example, day-to-day adding, removing, upgrading,
17 and downgrading of dependencies should be done using 'go get'.
18 See 'go help modules' for an overview of module functionality.
19 `,
20
21 Commands: []*base.Command{
22 cmdDownload,
23 cmdEdit,
24 cmdGraph,
25 cmdInit,
26 cmdTidy,
27 cmdVendor,
28 cmdVerify,
29 cmdWhy,
30 },
31 }
32
View as plain text