commit | 4789ca9922f080dd3a8fc3c74df1c1306db2bb0b | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu May 09 17:18:50 2019 -0400 |
committer | Russ Cox <rsc@golang.org> | Tue May 14 13:51:23 2019 +0000 |
tree | 94242c8927c7c238ca22e5730cab9b7c887cf88a | |
parent | 7d589f28aaf42086c56499a48b55b9c1495e1453 [diff] |
go/analysis/internal/analysisflags: call gob.Register on deleted analyzers Otherwise the specific set of gob registrations varies according to the command line, which makes it impossible for a narrow analysis run (for example, just one analyzer) to read fact files written by less narrow runs (for example, all the analyzers). This will start mattering in the standard repo vet. For golang/go#31916. Change-Id: I6fa90b3dfdf28ede6f995db3904211b6be68bb73 Reviewed-on: https://go-review.googlesource.com/c/tools/+/176357 Reviewed-by: Alan Donovan <adonovan@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.