commit | 1c4842a210a715963627ba162967ded3827bb948 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Wed Dec 18 19:31:48 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Thu Jan 16 20:36:08 2020 +0000 |
tree | 98cdf252691b614a41819596f3f73b8496e4a90c | |
parent | 872a348c3885569e89a484418e42a909f0beae88 [diff] |
internal/lsp/cache: refresh imports cache in the background Now that we can detach scans, it's easy to kick off a background refresh that doesn't block the user. Performance may be a bit worse until the scan finishes, but that's the price we pay for freshness. Adaptively rate-limit the refresh rate so that we don't turn the user's computer into a hot plate. Change-Id: Icbe8f384f44a219b57465da22d9becc19001eab8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212022 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.