commit | 9fbd0ccf67bfd53b81ff7fca929c4011c3ea12f2 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Thu Feb 06 16:46:55 2020 -0500 |
committer | Robert Findley <rfindley@google.com> | Mon Feb 10 17:53:45 2020 +0000 |
tree | 49fd4fb773e1f2c22d69420162c6c6afaa2da063 | |
parent | babff93c04649057ec57c9e112000200b8463c62 [diff] |
internal/lsp/lsprpc: add test for definition outside of workspace Add regression tests for GoToDefinition. In particular, exercise the panic from golang/go#37045. Updates golang/go#37045 Updates golang/go#36879 Change-Id: I67b562acd293f47907de0435c14b62c1a22cf2ee Reviewed-on: https://go-review.googlesource.com/c/tools/+/218322 Run-TryBot: Robert Findley <rfindley@google.com> 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.