Hacker News new | ask | show | jobs
by benmanns 4358 days ago
This 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