go list -m: github.com/99designs/gqlgen@v0.14.0: invalid version: git ls-remote -q origin in C:\Users\iot421\go\pkg\mod\cache\vcs\a0e2593ca53dbe2eba928039d11213fc70bfbfbed7237d6e6db11becba6bc730: exit status 128:
fatal: unable to access ‘https://github.com/99designs/gqlgen/’: OpenSSL SSL_read: Connection was reset, errno 10054
go list -m: github.com/StackExchange/wmi@v1.2.1: invalid version: git ls-remote -q origin in C:\Users\iot421\go\pkg\mod\cache\vcs\48d6db20530e1b1ab73ebe4d28536a5d14c65dd59c62b73faa4551a26fb8375b: exit status 128:
fatal: unable to access ‘https://github.com/StackExchange/wmi/’: OpenSSL SSL_read: Connection was reset, errno 10054
go list -m: github.com/dave/dst@v0.26.2: invalid version: git ls-remote -q origin in C:\Users\iot421\go\pkg\mod\cache\vcs\368f6f300e8ea401aee30d19c78c3e8e8c8d25d7fa13ca184e91c447ec4c2524: exit status 128:
go idea 跑项目的时候 ,在git-bash.exe 里面设置了阿里云源,但是还是下载不了
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
根据这篇文章 是要在idea里配置 go modules 的,打开来发现这里配的还是 direct,难道是因为逗号后面的 direct 。。。
https://blog.csdn.net/qq_34021712/article/details/109146367
总之要确保idea这里配置的是对的,在命令行里配置的貌似没用?后来配了个七牛的,总之都可以吧
https://goproxy.cn