1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 14:33:40 +02:00

go-build: update Chinese translation (#10342)

This commit is contained in:
Zhizhen He 2023-06-30 13:50:45 +08:00 committed by GitHub
parent 2e7e1894ee
commit 7ef70eae2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,11 +3,11 @@
> 编译 Go 源代码。
> 更多信息:<https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies>.
- 编译‘package main’文件(输出为不带扩展名的文件名):
- 编译 ‘package main’ 文件(输出为不带扩展名的文件名):
`go build {{路径/到/main.go}}`
- 编译并指定输出文件名:
- 编译并指定输出文件名:
`go build -o {{路径/到/二进制文件}} {{路径/到/源文件.go}}`