commit | d56157ae751d43fa5668eee3f2bfe4d8087cf660 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Mon Mar 04 17:01:39 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Mar 04 22:34:19 2019 +0000 |
tree | 77cb3f51aa7dfccf2eb00794fa9903041e489b48 | |
parent | 0f64db555a9c58aea153f7c094f19673926fb0b3 [diff] |
internal/lsp: remove handling for circular imports Also, separate type-checking logic into its own file. go/packages returns import cycle errors anyway, so we just return them instead. Change-Id: I1f524cdf81e1f9655c1b0afd50dd2aeaa167bb2f Reviewed-on: https://go-review.googlesource.com/c/tools/+/165021 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.