commit | 60bb3025ec9a8bf33d1fe3ef47aadf127f2a9885 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Aug 14 10:57:47 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Aug 14 16:34:44 2019 +0000 |
tree | 4b9b9d0deb94acd2fe37ca902044c5dad0233492 | |
parent | 2adf828841459f00f0514ff37c7fa54aae9e5e06 [diff] |
internal/lsp: fix race condition in caching This change fixes a race condition in the metadata caching logic. Also, some minor fixes to comments and invalidation logic (it's not necessary to invalidate ASTs when a package is invalidated). Change-Id: I927bf6fbc661a86ef0ba99b29a9ed979cd1eb95d Reviewed-on: https://go-review.googlesource.com/c/tools/+/190317 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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 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.