proposal: cmd/go: fallback to module cache, if proxy is not reachable #43646
When I try to import a yet-unrequired module, e.g.
and I run
That makes sense - the proxy is not reachable. However, my module cache contains a usable version of this module:
So, it might be a reasonable course of action for me, to just use the version I have in the cache - whether it is the latest, or not. If I want to do that, as far as I can tell, either
a) I have to look up what versions I have in my cache and run
Both of these can be considered somewhat clunky (and the latter is not very discoverable). I would like to suggest to make this easier. There are several ways this could happen:
It's also fine, if this is deemed WAI, of course. I just thought I would suggest it after the case came up on golang-nuts.
The text was updated successfully, but these errors were encountered: