github.com/sirkon/goproxy@v1.4.8/internal/modcmd/mod.go (about) 1 // Copyright 2018 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Package modcmd implements the ``go mod'' command. 6 package modcmd 7 8 import "github.com/sirkon/goproxy/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 }