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

Update docs and scripts to force the use of vendor/ #2448

Open
isaacvr opened this issue Nov 2, 2019 · 0 comments
Open

Update docs and scripts to force the use of vendor/ #2448

isaacvr opened this issue Nov 2, 2019 · 0 comments

Comments

@isaacvr
Copy link

isaacvr commented Nov 2, 2019

go 1.12+ uses the modules system by default unless you explicitly tell it to use the vendor folder. We use the vendor folder for security reasons and it should always be used.

Update docs and scripts to add GOFLAGS=-mod=vendor into the environment or pass -mod=vendor to go run invocations

See this issue for more info:
golang/go#27227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant