$GOPATH/go.mod exists but should not 有人遇到这个问题吗
基于 go mod 项目, 编译提示 $GOPATH/go.mod exists but should not
按照网上说的,blog.csdn.net/weixin_45604257/arti... 这个方法并不能解决这个问题
项目是不是放在了
$GOPATH
目录下?尝试将项目从$GOPATH
目录下移出即可。