Feb 16, 2021
Hi Vincent, what do you mean by "restraining it to a specigic OS"? Executables for Windows were already built for Windows using GOOS=Windows, for Linux using GOOS=linux and for MacOS using GOOS=darwin.
I have no experiences using different architecture flags, but when Arm will come to play, as it started with latest macbook, it would be wise to update the article with it.
I think, it is reasonable to think, that different architectures will have different sizes.