summaryrefslogtreecommitdiffstats
path: root/man/go-mod.1
blob: bd998ac24fd8be27eeb6077f925cb48978c9f2e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.\"                                      Hey, EMACS: -*- nroff -*-
.TH GO 1 "2021-09-06"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
go-mod \- module maintenance
.SH SYNOPSIS
.B go mod
.I command
.RI [ arguments ]
.SH DESCRIPTION
Go mod provides access to operations on modules.
.P
Note that support for modules is built into all the go commands,
not just 'go mod'. For example, day-to-day adding, removing, upgrading,
and downgrading of dependencies should be done using 'go get'.
See 'go help modules' for an overview of module functionality.
.SH COMMANDS
.TP
.B download
download modules to local cache
.TP
.B edit
edit go.mod from tools or scripts
.TP
.B graph
print module requirement graph
.TP
.B init
initialize new module in current directory
.TP
.B tidy
add missing and remove unused modules
.TP
.B vendor
make vendored copy of dependencies
.TP
.B verify
verify dependencies have expected content
.TP
.B why
explain why packages or modules are needed
.P
Use "go help mod <command>" for more information about a command.
.SH AUTHOR
This manual page and is maintained by the 
Debian Go Compiler Team <team+go-compiler@tracker.debian.org>
based on the output of 'go help mod'
for the Debian project (and may be used by others).