commit | 99b2a93e1f84a3dfa8da651b94e2e176187fc2a9 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Dec 03 11:35:20 2018 -0800 |
committer | Alan Donovan <adonovan@google.com> | Mon Dec 03 20:10:58 2018 +0000 |
tree | f6b06e2b42d68e3e813e79770d5814eea0123216 | |
parent | ee45598d2ff288037f53f9e13ae0b1a6e2165ad5 [diff] |
go/analysis/unitchecker: improve error message for go tool vet Previously running "go tool vet" said vet: invalid command: want .cfg file (this reduced version of vet is intended to be run only by the 'go vet' command) With this change it says: vet: invoking "go tool vet" directly is unsupported; use "go vet" Updates golang/go#28869 Change-Id: I603ab2f75bb52d860e5cd7466e89d051dfbf3f08 Reviewed-on: https://go-review.googlesource.com/c/152217 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.