1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 05:42:09 +02:00

go-mod: add page (#4003)

Signed-off-by: gonejack <igonejack@gmail.com>
This commit is contained in:
gonejack 2020-05-08 20:39:36 +08:00 committed by Starbeamrainbowlabs
parent 8a9a0e8222
commit 19d232cbf4
No known key found for this signature in database
GPG key ID: 1BE5172E637709C2

16
pages/common/go-mod.md Normal file
View file

@ -0,0 +1,16 @@
# go mod
> Tool for module maintenance.
> More information: <https://golang.org/cmd/go/>.
- Download modules to local cache:
`go mod download`
- Add missing and remove unused modules:
`go mod tidy`
- Copy all dependencies into vendor directory:
`go mod vendor`