commit | 4a54ec1d386dfb196bed0f0bec89f1718d06ca1a | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Jan 10 17:37:29 2020 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Jan 13 18:51:11 2020 +0000 |
tree | 6dffa760dd0710f1bbe4eb0a940968b5e3410870 | |
parent | 30cae5f2fb06c7657da3a9e33b9bd82bf5fc45c3 [diff] |
internal/lsp: remove view.FindPosInPackage and view.FindMapperInPackage There is no reason for these functions to live on the view. They make more sense as unexported functions in internal/lsp/source. Initially, I had to propagate contexts through a lot of functions in internal/lsp/source, but instead I removed the unused contexts forom snapshot.GetFile. Change-Id: I8323419d0356feb2010091fe8d3ed35e511f801a Reviewed-on: https://go-review.googlesource.com/c/tools/+/214384 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.