gox
Cross-compile Go programs. More information: https://github.com/mitchellh/gox.
- Compile Go program in the current directory for all operating systems and architecture combinations:
gox
- Download and compile a Go program from a remote URL:
gox
- Compile current directory for a particular operating system:
gox -os=""
- Compile current directory for a single operating system and architecture combination:
gox -osarch="/"
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
