Goland编译报错:go: creating work dir: mkdir C:WINDOWSgo-build3xxxx: Access is denied.

使用命令行编译确保go 环境正常 

点击编辑器绿色三角旁的edit configurations ,run kind 修改为file 不选package

原文地址:https://www.cnblogs.com/lavin/p/goland-build-Access-denied.html