$GOPATH/go.modexistsbutshouldnot

分类: PHP-GO |
GO 1.11模块遇到这个问题:
$GOPATH/go.mod exists but should not
开启模块支持后,并不能与https://math.jianshu.com/math?formula=GOPATH%E5%85%B1%E5%AD%98,%E6%89%80%E4%BB%A5%E6%8A%8A%E9%A1%B9%E7%9B%AE%E4%BB%8EGOPATH中移出即可
不要再gopath路径下创建项目
前一篇:go设置国内代理