commit | 62b967431217501d34a55d0a2417733eb87185ff | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Wed Dec 18 19:08:00 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Thu Dec 19 20:57:09 2019 +0000 |
tree | a1c90c8dbb567ffe9a2ab014dc52e01baa17a260 | |
parent | 2208e1677e7b76008b07abe18e667c2f04296433 [diff] |
internal/imports: consider direct mod deps more relevant As a followup to CL 204203, prefer direct dependencies over indirect. This should improve results for common names like "log" and "errors". Updates golang/go#36077. Change-Id: I3f8cfa070832c2035aec60c4e583ee1c0abf5085 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212021 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.