commit | 7c89c52d2f529d73a4387387f875a2d35980befe | [log] [tgz] |
---|---|---|
author | Jean de Klerk <deklerk@google.com> | Tue Oct 13 16:48:00 2020 -0600 |
committer | Jean de Klerk <deklerk@google.com> | Fri Oct 16 15:57:21 2020 +0000 |
tree | 2193d70441c83857aa5c260e92c18f6170248212 | |
parent | c90119023dcc7f60acd88c7875563b8ba10600f1 [diff] |
x/tools/gopls: add a skipped test for renaming of package This adds a test that asserts that gopls gracefully recovers from a bad package name. It does not include the fix for the test, and so this test is skipped: I took a stab at it but it was a deep spelunk that I wasn't able to make enough progress on. Updates golang/go#41061 Change-Id: I86d817396dae5b0211e633721867e811c7d6cf40 Reviewed-on: https://go-review.googlesource.com/c/tools/+/262019 Run-TryBot: Jean de Klerk <deklerk@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Jean de Klerk <deklerk@google.com> 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 prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
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.