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