在goload 中执行代码报错 $GOPATH/go.mod exists but should not goland 方法1 将go目录下存在go.mod,删去 方法2 goland Go Modules设置 GOPATH不设置留空,保留Default 系统变量添加GOPROXY,值:https://goproxy.cn 相关文章: 2021-09-19 2022-12-23 2021-10-22 2021-11-22 2022-02-07 2021-05-20 2022-12-23 2021-11-04