Hacker News new | ask | show | jobs
by 2mur 4358 days ago
You can essentially deploy with a cross compiled binary by scp:

http://dave.cheney.net/2012/09/08/an-introduction-to-cross-c...

1 comments

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