commit | 234df48a208cb23f778dd5a7c48315b528a1b0f3 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Dec 27 16:44:33 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Dec 30 21:09:35 2019 +0000 |
tree | 6a0c89974e620e8e5f4e6a4e241c76e68223a644 | |
parent | 6c68fec0bcec31b0e5517d7b14fc11b440b8ac34 [diff] |
internal/lsp: load metadata for a single package ID, when needed The metadata for the workspace packages may not be available when we need it, so we should allow loading a single package ID. This can be improved in follow-up CLs by consolidating the individual IDs into one call to packages.Load. Some adjustments from CL 212102 were split out into this CL. Change-Id: I173a79a3cb136530bc99d093f1c2be189eac8ce2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212628 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@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.