参考链接:
https://blog.golang.org/go116-module-changes
报错信息:
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
解决方法:
go env -w GO111MODULE=auto
参考链接:
https://blog.golang.org/go116-module-changes
报错信息:
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
解决方法:
go env -w GO111MODULE=auto