commit | 7653e6d3d5edc0ac8e4a3d0c9d9cdbf718618855 | [log] [tgz] |
---|---|---|
author | Edward Muller <edwardam@interlix.com> | Fri Jun 14 20:32:31 2019 +0000 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Jun 17 16:34:45 2019 +0000 |
tree | 1ddc21e4aec4f239d4191579d02936d98379ff1b | |
parent | 97de5656fd0abb4da8799a4c7235e596f1ae41e3 [diff] |
internal/lsp/cache: fix ineffectual err assignment The `if err :=` block creates a shadow err value that is then discarded after the block. Change-Id: I78f6a7298ac5d3d86ece056a9e328bcee9fdc683 Change-Id: I78f6a7298ac5d3d86ece056a9e328bcee9fdc683 GitHub-Last-Rev: 4bac8fb982fa3a0724206422b1a4dbc5e41c34a9 GitHub-Pull-Request: golang/tools#114 Reviewed-on: https://go-review.googlesource.com/c/tools/+/181777 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> 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.