
1 yougg 2022 年 10 月 16 日 go get github.com/<user>/<repo>@<commit_id> |
2 wangyu17455 2022 年 10 月 16 日 有个不太优雅的办法,删掉本地缓存然后再 get 试试? |
3 LindsayZhou 2022 年 10 月 16 日 GOPROXY=direct get get xxxx 谷歌的缓存,直连就好了。 引申阅读: https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html |
4 mengyx 2022 年 10 月 16 日 建议使用 Go Workspace https://go.dev/doc/tutorial/workspaces |
6 349865361 2022 年 10 月 25 日 go env -w GOPROXY=direct 禁用代理直接从 git 仓库获取 |