commit | 4e34152f16764ffb54b96842e6a72195df6e2d07 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Nov 09 13:09:17 2018 -0500 |
committer | Alan Donovan <adonovan@google.com> | Fri Nov 09 18:25:37 2018 +0000 |
tree | 13970330141a109dfad6b7edc227335a06a63830 | |
parent | d3a25d70bd81b856234d22c2b05b334ebd2b46ea [diff] |
cmd/vet: lostcancel: suppress the check in the main.main function When main.main returns, the process exits, so there's no need to cancel contexts. This CL was originally reviewed as https://go-review.googlesource.com/c/go/+/106915 and then retried in https://go-review.googlesource.com/c/go/+/148758 but then reverted due to an embarrassing sequence of careless moves. Change-Id: Icdee0650996a442023e030697f10d2c31fd5fdff Reviewed-on: https://go-review.googlesource.com/c/148877 Run-TryBot: Alan Donovan <adonovan@google.com> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@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.