commit | cf799caeade60a6e642d8d17116664a43be70150 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Thu Jul 16 10:34:33 2020 -0400 |
committer | Robert Findley <rfindley@google.com> | Thu Jul 16 18:20:50 2020 +0000 |
tree | 5f3625af2de06cbb2e0596d09fe11b621c6d4a50 | |
parent | 43ed94694c2bc8f0fb9d61264e673fdce49be8a0 [diff] |
internal/lsp/regtest: simpler way to invert options This is an alternative to CL 241739, preserving the exiting variadic options pattern and just adding a helper method to put the options up front. All things considered, I think this is better. CL 241739 was too complicated, and being able to reuse "curried" runners isn't actually important. Updates golang/go#39384 Change-Id: I7ecd80d310cac879520b2d1feebcf5bd5e96e89b Reviewed-on: https://go-review.googlesource.com/c/tools/+/243057 Run-TryBot: Robert Findley <rfindley@google.com> 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 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.