diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 13:20:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 13:20:27 +0000 |
commit | 1148aec146e14f4e490beca612d6cb98ef847659 (patch) | |
tree | 4cbf5a02dba5a6a26c656e7ba839ccd91bc392c1 /man/go-mod.1 | |
parent | Initial commit. (diff) | |
download | golang-defaults-1148aec146e14f4e490beca612d6cb98ef847659.tar.xz golang-defaults-1148aec146e14f4e490beca612d6cb98ef847659.zip |
Adding upstream version 2:1.19~1.upstream/2%1.19_1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/go-mod.1')
-rw-r--r-- | man/go-mod.1 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/man/go-mod.1 b/man/go-mod.1 new file mode 100644 index 0000000..bd998ac --- /dev/null +++ b/man/go-mod.1 @@ -0,0 +1,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). |