How to hide console window?
pigLoveRabbit520 opened this issue · comments
pigLoveRabbit commented
pigLoveRabbit commented
Sorry, I have found the solution:
Note that Windows applications load from a command prompt by default, which means if you click an icon you may see a command window. To fix this add the parameters -ldflags -H=windowsgui
to your run or build commands.
Rodrigo commented
You also may want to take a look at https://github.com/rodrigocfd/winsafe-examples repo.