commit | dd5f9d103370701e38c56c98959b989e13dbc3ac | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Wed May 06 23:44:40 2020 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Wed May 27 14:25:42 2020 +0000 |
tree | 513eb3bd2c6b0d88a5c4ac8b7564f7860c9e73fa | |
parent | a02cf328666cd2e8caea12c3b93a92eb64150219 [diff] |
internal/stack: add the leak test This adds a package for dealing with stacks in tests. The only function at this time is NoLeak which verifies that a test does not leak any goroutines, and prints a stack summary if it does. Change-Id: I284b846f422334b745bef0e96d84138295120a62 Reviewed-on: https://go-review.googlesource.com/c/tools/+/232681 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@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.