commit | 15a0f8a7f13d32e7ef63241aa7f25369b75ea373 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Oct 19 13:38:44 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Fri Nov 02 17:49:05 2018 +0000 |
tree | 881890f67a871f151dfbcb30186064c5907f3765 | |
parent | 92b943e6bff73e0dfe9e975d94043d8f31067b06 [diff] |
go/analysis/internal/unitchecker: a 'go vet'-compatible driver Also: - add cmd/vet-lite, a version of cmd/vet that doesn't depend on go/packages and must be run under "go vet". This will be vendored into $GOROOT/src/cmd/vet. - add an integration test for a unitchecker-based command under "go vet". Change-Id: Id613dac2812816c6d6372fa6d1536c8d4e4c2676 Reviewed-on: https://go-review.googlesource.com/c/143418 Reviewed-by: Ian Cottrell <iancottrell@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
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.