diff options
| author | Alan Donovan <adonovan@google.com> | 2018-10-16 14:35:01 -0400 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2018-10-17 21:39:52 +0000 |
| commit | 398b54df56ed57e3e1b333d7621dac414eda612e (patch) | |
| tree | 44d1560bb877fb5b3e24e4323eeac95fa283c95e /src/database/sql/sql.go | |
| parent | 4bea6c65947caf815ad4dde8bf50c43dcca539be (diff) | |
| download | go-398b54df56ed57e3e1b333d7621dac414eda612e.tar.xz | |
cmd/go: make go vet query cmd/vet for its flags
Add -flags flag to cmd/vet that causes it to describe its flags as JSON.
go vet's "-vettool" flag has been replaced with an environment
variable, GOVETTOOL, for two reasons:
1) we need its value before flag processing,
because we must run vet to discover its flags.
2) users may change the env var to opt in/out of the new vet tool
during the upcoming transition to vet based on the analysis API.
Change-Id: I5d8f90817623022f4170b88fab3c92c9b2fbdc37
Reviewed-on: https://go-review.googlesource.com/c/142617
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
