This question already has an answer here:
- Cross compile Go on OSX? 6 answers
How can I
go build a project in a way that it works for both Mac and Linux (x86 and x64)? Is that even possible?
I searched and found some stuff, but cannot make them work (or maybe I just didn't understood them).