commit | 90aeebe84374219b793ddaf02606e8d77a632028 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Mon Sep 30 10:13:10 2019 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Mon Sep 30 15:27:28 2019 +0000 |
tree | 1edfa45609a1fa8c7f03f9b3eb7577fc7d1a7129 | |
parent | e7abfedfabcfcc6a3220ae994ab001754cf1a76a [diff] |
cmd/godoc: move poll sleep to top of loop CL 196979 moved the pollInterval sleep to the bottom of the loop with the intent of not sleeping before the first readiness check, but that caused an unintended consequence of the sleep being skipped when errors happen. Move it back to the top to avoid that problem. Change-Id: Ia63f09afe47d93df657ca867ceecc4d7df6abccc Reviewed-on: https://go-review.googlesource.com/c/tools/+/197940 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@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.