cmd/go: look only at dependencies in use in 'go run' #31057
With no network access:
But the imports used by
It looks to my untrained eye like the
Apologies if this is a duplicate; I'm having a hard time keeping track of the various go modules issues.
I’m not sure. I still haven’t fully wrapped my head around modules, but I have noticed that cmd/go needs a surprising amount of network access. (I’m used to basically everything working without the internet, and am disconcerted by the notion that I do not understand enough to be able to plan for an airplane trip, much less not have to plan at all.) But I am working under the assumption that all of the foregoing is my problem.
Could you attach the output of
If you're using
I've been testing these sorts of issues using
For the command line you provided, a