commit | 063514c48b266a22eca80e1db0591f5f8b41ecac | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Wed Jul 03 13:06:27 2019 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Jul 03 17:54:00 2019 +0000 |
tree | 90c78c55b979159499c3c125fe9eebcfa0f319fb | |
parent | a00916dd39a53f9d7c0617efa74ac2aaf6bc4716 [diff] |
internal/lsp/cmd: replace time.Tick with time.After time.Tick produces multiple ticks (and leaks a Ticker); time.After produces a single tick, which is what is called for here. Change-Id: I922b11e1263a8367afec76c10831b7284f3559ec Reviewed-on: https://go-review.googlesource.com/c/tools/+/184938 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@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.