cmd/go: improve support for using modules in offline mode #49389
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
I was on a plane earlier this week, and not being able to use
go get
was unfortunate. Any queries likego get some-dependency@latest
or@master
always reach for the internet, failing immediately. Something akin togo get some-dependency@latest-cached
would have been neat, because that dependency was many months out of date, and my cache had multiple newer tagged versions.I ended up looking directly into my module download cache, finding the latest tagged version there, then using
go get [email protected]
. Which worked, but it's also somewhat tedious, and I don't like having to peek at the local cache in this way to be able to use it.I believe that we've talked about better offline support before, but I could not find a tracking issue for it.
cc @bcmills @matloob
The text was updated successfully, but these errors were encountered: