commands.sh

gox

all

Cross-compile Go programs.

More info →

Examples (4)

Compile Go program in the current directory for all operating systems and architecture combinations

Download and compile a Go program from a remote URL

gox url_1 url_2 ...

Compile current directory for a particular operating system

gox -os="os"

Compile current directory for a single operating system and architecture combination

gox -osarch="os/arch"
made by @shridhargupta | data from tldr-pages