My antivirus at work keeps on flagging my Go program as malware. Unfortunately, it doesn’t allow wild card in the exclusion list (or I would add 'Temp\go-build*`). It would be risky to exclude the entirety of %TEMP%.
Is there a way to tell Go to build/compile in a user-specified folder, rather than %temp%?
(I’m obviously on Windows, or I wouldn’t be having these silly issues.)