We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In https://github.com/golang/vuln/blob/d9be10b6cc846585ded9197e3a20ea2661da49f7/cmd/govulncheck/main.go#L34 -tags flag mutates go/build.Default.BuildTags. In old days, adjusting the go/build default context was necessary to minimize confusions stem from differences in local/external build contexts. However, with golang.org/x/tools/go/packages this is no longer necessary in most cases.
-tags
go/build.Default.BuildTags
go/build
golang.org/x/tools/go/packages
Don't mutate go/build.Default context, but pass the info to go/packages load configuration.
go/build.Default
go/packages
cc @zpavlinovic
The text was updated successfully, but these errors were encountered:
Fixed here.
Sorry, something went wrong.
zpavlinovic
No branches or pull requests
In https://github.com/golang/vuln/blob/d9be10b6cc846585ded9197e3a20ea2661da49f7/cmd/govulncheck/main.go#L34
-tags
flag mutatesgo/build.Default.BuildTags
.In old days, adjusting the
go/build
default context was necessary to minimize confusions stem from differences in local/external build contexts. However, withgolang.org/x/tools/go/packages
this is no longer necessary in most cases.Don't mutate
go/build.Default
context, but pass the info togo/packages
load configuration.cc @zpavlinovic
The text was updated successfully, but these errors were encountered: