commit | 3744606dbb67b99c60d3f11cb10bd3f9e6dad472 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Feb 06 18:47:00 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Feb 08 22:27:37 2019 +0000 |
tree | bd4eb2535d92fd339ce4918e4e36ca6b52a8de08 | |
parent | a3f91d6be4f3f5e50038dad5daba2c8e042146c3 [diff] |
internal/lsp: type-check packages from source This change moves gopls from type-checking packages using the go/packages API to type-checking from source. This is the first step in adding caching to gopls. Change-Id: I2a7dcfd8c9c0bfc6c35c86eadcdc6f9ce53d9be7 Reviewed-on: https://go-review.googlesource.com/c/161497 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.