commit | 06f26fdaaa28cdb20cf496a5eec17e1270830a63 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Fri Oct 05 13:08:11 2018 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Wed Oct 17 21:43:49 2018 +0000 |
tree | a7431fdcca8baed2cec7d6174ca0e12953e7653c | |
parent | 249abec53bb4ef8dc85bae4f77c07b24307393ec [diff] |
go/packages/packagestest: Testing with multiple drivers This extracts some of the test code from packages, and adds the ability to run the same test with multiple drivers. This should generally be useful for all tools that run on top of go/packages as well when writing tests for them. Change-Id: I88c596ad07c0782270c5798d92ae29f7549943cf Reviewed-on: https://go-review.googlesource.com/c/140118 Run-TryBot: Ian Cottrell <iancottrell@google.com> 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.