add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

24
pages.zh/common/go-mod.md Normal file
View File

@@ -0,0 +1,24 @@
# go mod
> 模块维护。
> 更多信息:<https://golang.org/cmd/go/#hdr-Module_maintenance>。
- 在当前目录初始化新模块:
`go mod init {{moduleName}}`
- 下载模块到本地缓存:
`go mod download`
- 添加缺失的模块并移除未使用的模块:
`go mod tidy`
- 验证依赖项是否具有预期的内容:
`go mod verify`
- 将所有依赖项的源代码复制到 vendor 目录:
`go mod vendor`