$GOPATH/go.mod exists but should not goland

在goload 中执行代码报错 $GOPATH/go.mod exists but should not goland 方法1 将go目录下存在go.mod,删去 方法2 goland Go Modules设置 GOPATH不设置留空,保留Default 系统变量添加GOPROXY,值:https://goproxy.cn
相关文章
相关标签/搜索