Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: Add go get flag to download to vendor directory #11726

Closed
mattfarina opened this Issue Jul 15, 2015 · 2 comments

Comments

Projects
None yet
4 participants
@mattfarina
Copy link
Member

mattfarina commented Jul 15, 2015

go get downloads into the GOPATH. It would be useful to have a flag that downloads the package to the new vendor directory.

@ianlancetaylor ianlancetaylor modified the milestones: Go1.6, Unplanned Jul 15, 2015

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

ianlancetaylor commented Jul 15, 2015

For now this is going to be the province of external vendoring tools. Perhaps in the future it will become part of go get.

@bcmills

This comment has been minimized.

Copy link
Member

bcmills commented Jan 23, 2019

go mod vendor downloads the dependencies of the main module into its vendor directory.

That's probably as close as we're going to get, although we may add an optional argument to vendor in a specific module as part of the resolution to #27227.

@bcmills bcmills closed this Jan 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.