commit | be5259f29810d11c5fb57d7d2922e1ed021867b5 | [log] [tgz] |
---|---|---|
author | Jan Steinke <jan.steinke@gmail.com> | Tue Aug 06 19:13:11 2019 +0000 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Aug 06 19:46:56 2019 +0000 |
tree | fb02f055c45cb3afe48f4336f3cb5c5e77b8867e | |
parent | 249e2b9b6d3c7768a126fd2856da5362fb435f2d [diff] |
internal/lsp: use x/xerrors to create new errors This relates to https://github.com/golang/go/issues/31374 and should switch all instances within `gopls` to use `x/errors` instead of `fmt` to create new errors. Change-Id: I18339b75d12418d852e0dcc2ba0ed6c2970783b3 GitHub-Last-Rev: f4a55d9b79e7458ef1f1e06cb5eabbabd884f321 GitHub-Pull-Request: golang/tools#108 Reviewed-on: https://go-review.googlesource.com/c/tools/+/179880 Run-TryBot: Rebecca Stambler <rstambler@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.