$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
相關文章
相關標籤/搜索