cmd/go: add 'go mod vendor -o <dir>' #47327
Thinking about how to get a copy of all the code that is needed for a given build, for uploading to some kind of a remote build (Google App Engine or other similar systems).
Right now if you upload just the main module, then the remote build has to resolve all the dependencies. But what if the dependencies are private modules, and the remote build has no access to them? This happens.
The solution I have used in the past is to run
What could be done instead is to have the uploader itself run
We should do this for
In the long term, we might also consider some kind of formal "archive of everything for a build", so that you could
For now if we do
The text was updated successfully, but these errors were encountered: