go mod常见问题

2020-09-07 15:27

verifying package-name: reading https://goproxy.cn/sumdb/sum.golang.org/lookup/package-name: 404 Not Found

export GO111MODULE=on
export GOPROXY=direct
export GOSUMDB=off

https://blog.csdn.net/jiuweiC/article/details/104384844

关闭

go env -w GO111MODULE=on