commit | 226fd2f889caf09c3e3348aa96f008c57c08a700 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Mon Oct 19 10:47:46 2020 -0400 |
committer | Robert Findley <rfindley@google.com> | Tue Oct 20 16:11:33 2020 +0000 |
tree | 2c2be4107dcdd1696ea5483febe24eb993cfb8be | |
parent | 90550980fc828b11c0ea873b777656000b590447 [diff] |
internal/lsp/fake: factor out working in a temp directory In subsequent CLs, tests are added that don't need the full machinery of fake.Workdir (file tracking, etc.). Factor out some of the facility for writing a txtar-encoded temp directory, and working with relative paths. Change-Id: Iae25c37a8fd8de2dfe6c91e507d9be01440d3492 Reviewed-on: https://go-review.googlesource.com/c/tools/+/263523 Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Robert Findley <rfindley@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.