I'm developing Go in Windows 7.
Doing a simple http listening program, listening on port 80, or 8080, or whatever.
When I do go run my program it triggers Windows 7 firewall to pop up and ask if I want to block or allow main.exe to have network access.
Usually you can let it have access and you wont get the question the next time you compile and run it. However, everytime the code it built a new path is generated, looks something like this:
C:\wintemp\go-build053100907\command-line-arguments\_obj\exe\main.exe
(wintemp = my windows system temp folder)
So even if I accept the network at this point, the next time I run it, it may have another path:
C:\wintemp\go-build092553123\command-line-arguments\_obj\exe\main.exe
And yet again you must accept to allow network access.
So - what to do? I tried turning off the Windows Firewall.
Is there a way to set a constant preset build path to solve this? Or could that break something else?