I\'ve just created my first go application on Windows.
How do I give it an icon?
There doesn\'t seem to be any build flags to do this, and I know golang doesn\'t
None of the above answers worked for me. The only way I could get an ico embedded into a GO exe was with Resource Hacker.
http://www.angusj.com/resourcehacker/
You can also run it directly from the command line if you need to add it to your build scripts.
ResourceHacker -open main.exe -save output.exe -action addskip -res main.ico -mask ICONGROUP,MAIN,