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

16
pages.zh/common/go-get.md Normal file
View File

@@ -0,0 +1,16 @@
# go get
> 添加依赖包,或以传统 GOPATH 模式下载包。
> 更多信息:<https://pkg.go.dev/cmd/go#hdr-Add_dependencies_to_current_module_and_install_them>。
- 在模块模式下将指定包添加到 `go.mod`,或在 GOPATH 模式下安装该包:
`go get {{example.com/pkg}}`
- 在模块感知模式下以给定版本修改包:
`go get {{example.com/pkg}}@{{v1.2.3}}`
- 移除指定包:
`go get {{example.com/pkg}}@{{none}}`