commit | 59534d075a876675ef41a20fd596536cfa103662 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Tue Jun 11 18:06:27 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Jun 12 18:00:59 2019 +0000 |
tree | 15784634cca85be03a9ee1284fcf46cce20cff80 | |
parent | 028e009f4092f27d2b7c391d2686902cd8440a7e [diff] |
internal/lsp: use ids instead of package paths as map keys This adds an IDs map to the metadata cache, which maps package paths to IDs. This is only ever used by the Import function in the type checker. Change-Id: I8677d9439895bc6cbca5072e3fa9fddad4e165d5 Reviewed-on: https://go-review.googlesource.com/c/tools/+/181683 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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.