commit | 0e55654012fa60706c9eb74cef2619bfd3c74d31 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Thu May 02 10:55:04 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Wed May 15 23:16:32 2019 +0000 |
tree | e6f8f664a54d0f794cfb8d2b865720a7573c479f | |
parent | 7c3f65130f290a790cd2a8742f0636e46e345bc2 [diff] |
internal/lsp: add shutdown handling We correcly cancel all background tasks and drop all active views when the server is asked to shut down now. This was mostly to support the command line being able to exit cleanly Change-Id: Iff9f5ab51572aad5e3245dc01aa87b00dcd47963 Reviewed-on: https://go-review.googlesource.com/c/tools/+/174940 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@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.