commit | 2c1181b56759f03d5900790f75fd86ed18795254 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Sep 18 15:33:33 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Sep 18 21:04:43 2019 +0000 |
tree | 1f4edddb609dc76572ca3fc99dbfa9102556ff32 | |
parent | 68f92b6635e3dd62ea8ddbc525c868c83d665d49 [diff] |
go/packages: fix overlay deps for packages with test variants This change handles the case when an import gets added in an overlay a package with a test variant. Previously, we would only add that dependency to the test variant of the package. Fixes golang/go#34379 Change-Id: I82c3d72d7c2d0b970fb27c1aea5be71783b83764 Reviewed-on: https://go-review.googlesource.com/c/tools/+/196259 Run-TryBot: Rebecca Stambler <rstambler@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.