commit | 4bf2f4069df4e98f9081411f54834e19ba402e94 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Tue Nov 19 14:51:46 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Wed Nov 20 21:51:18 2019 +0000 |
tree | 27bd3e7e278994e4f7287c1267b106654139bde2 | |
parent | 17847a8424c1d8517a098c4c378518028e9a145f [diff] |
internal/lsp: fix and re-enable godef tests None of the godef tests were running due to a mistake in the test harness code. Fix them and re-enable. We decided that the range for an import statement should be the whole import path, not just the first character, so make that change and adjust the PrepareRename tests accordingly. Change-Id: I45756a78f2a1beb3c5180b5f288ce078075624bf Reviewed-on: https://go-review.googlesource.com/c/tools/+/207900 Run-TryBot: Heschi Kreinick <heschi@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.