commit | c79c01b1c51c468123f4890fb7190cda24a42eb2 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Thu May 14 22:28:26 2020 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Mon May 18 17:24:58 2020 +0000 |
tree | 12cd4b65fead1e5293ef2bef72f9542574814e3b | |
parent | d3bf790afa530e43486cf40d59e799d91c752866 [diff] |
all: consolidate cgo requirement checks Many tools test check for the ability to compile cgo programs. Consolidate them all into testenv.NeedsTool("cgo"). Change-Id: I62c96e7b4dc72df34b8fdbf10326c7d19e0613e8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/234108 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@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.