commit | 340a1cdb50704a56147854e4ea4ba19f716aff00 | [log] [tgz] |
---|---|---|
author | Michael Matloob <matloob@golang.org> | Wed Feb 06 18:47:00 2019 -0500 |
committer | Michael Matloob <matloob@golang.org> | Tue Feb 12 19:58:15 2019 +0000 |
tree | f4e9affcbcfb3121e098ad9312c1d476d24ce199 | |
parent | 05d253c83ec748b9566f592126e37774f741a2eb [diff] |
internal/lsp: copy fact support from go/analysis/internal/checker.go This changes the analysis code from that which was in unitchecker.go to that in checker.go, so we can run actions that get facts for dependencies concurrently. Adds the rest of the traditional vet suite to the LSP. TODO(matloob): test that facts are actually propagated between packages Change-Id: I946082159777943af81bcf10e503fecc99da521e Reviewed-on: https://go-review.googlesource.com/c/161671 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@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.