Cross compile


How to compile a golang application and distribute to multiple platforms. How to cross-compile golang application.


env GOOS=target-OS GOARCH=target-architecture go build package-import-path

How to build executables