3 ms·
You can essentially deploy with a cross compiled binary by scp: http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go http://dave.chen
by 2mur 12y ago
You can essentially deploy with a cross compiled binary by scp:
http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go http://dave.cheney.net/2012/09/08/an-introduction-to-cross-c...
- benmanns 12y agoThis is how I've deployed Go code from OSX to a Linux server: brew install go --cross-compile-common GOOS=linux GOARCH=amd64 go build scp thebinary user@host:thebinary