3 ms·
Cross compiling is very easy since Go 1.5, just add some environment variables before running `go build`, which can be put in a Makefile. Distribution is a lit
by anonfunction 10y ago
Cross compiling is very easy since Go 1.5, just add some environment variables before running `go build`, which can be put in a Makefile.
Distribution is a little trickier since there is no package manager ala npm, however it's a little easier in that you don't need anything except for the binary. For people who have Go installed they just `go get REPO` and it's installed, for others they can just wget the binary into their bin.