commit | f2838559cbd256b1a8a74d2fa196769eefaeecda | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Tue Jul 16 22:20:43 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Thu Jul 18 19:01:55 2019 +0000 |
tree | 9f2bffa08573681f49f9116463f1593e9069cf55 | |
parent | 128ec6dfca091cc7d4fe6d18d97911f37c95a590 [diff] |
internal/lsp: use a background context for the background worker A detatched context ends up attributing all background work to the initialize function. Change-Id: I81206462752228d5ac81408fb1e3fb86ab36796e Reviewed-on: https://go-review.googlesource.com/c/tools/+/186457 Run-TryBot: Ian Cottrell <iancottrell@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 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.