Instead of disabling the go proxy and sumdb for all modules (even the ones not hosted on sourcehut), I recommend the following workaround instead:
$ export GOPRIVATE=git.sr.ht $ go get # will use goproxy, except for modules hosted at git.sr.ht
Documentation: https://goproxy.io/docs/GOPRIVATE-env.html
I don’t understand how it is different from the workaround they recommend?
the post has been updated by its author: https://news.ycombinator.com/item?id=34311022
Ah, that explains it, thanks! :)
Instead of disabling the go proxy and sumdb for all modules (even the ones not hosted on sourcehut), I recommend the following workaround instead:
Documentation: https://goproxy.io/docs/GOPRIVATE-env.html
I don’t understand how it is different from the workaround they recommend?
the post has been updated by its author: https://news.ycombinator.com/item?id=34311022
Ah, that explains it, thanks! :)