add new chinese translations
This commit is contained in:
20
pages.zh/common/gox.md
Normal file
20
pages.zh/common/gox.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# gox
|
||||
|
||||
> 交叉编译 Go 程序。
|
||||
> 更多信息:<https://github.com/mitchellh/gox>。
|
||||
|
||||
- 为所有操作系统和架构组合编译当前目录中的 Go 程序:
|
||||
|
||||
`gox`
|
||||
|
||||
- 从远程 URL 下载并编译 Go 程序:
|
||||
|
||||
`gox {{url_1}} {{url_2}}`
|
||||
|
||||
- 为特定操作系统编译当前目录:
|
||||
|
||||
`gox -os="{{os}}"`
|
||||
|
||||
- 为单一操作系统和架构组合编译当前目录:
|
||||
|
||||
`gox -osarch="{{os}}/{{arch}}"`
|
Reference in New Issue
Block a user