commit | 0945d3616f18a7224b3a184b8a5d5281f0f6daac | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Fri Jun 07 17:21:57 2019 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Mon Jun 10 21:48:47 2019 +0000 |
tree | aa45673277bf5949fd263d7c0ec1d9d15c3d0b3d | |
parent | e88138204b917ae37302e34a19722b8087966128 [diff] |
internal/imports: suggest x for x_tests golang.org/cl/170238 forgot that it's okay for an x_test to import a package in the same directory. Only skip the candidate if the package we're looking for has the same name as the one being fixed. Fixes golang/go#32440 Change-Id: I7806d9f4174ca217ac83887da5e23b28cd102095 Reviewed-on: https://go-review.googlesource.com/c/tools/+/181338 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@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.