mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
17 lines
268 B
Markdown
17 lines
268 B
Markdown
![]() |
# 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`
|