commit | 7bda30096dc1889bf0a2260c7523b5a3da5f6996 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Thu Jan 02 16:04:45 2020 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Fri Jan 03 21:11:27 2020 +0000 |
tree | 2892cf7b7c50fb750bee047e02361f1db4522515 | |
parent | 6de373a2766cf6891613ba19eb8bb06227ba7273 [diff] |
internal/imports: actually skip things in scan An important part of letting the callback choose what to load is...not loading the stuff it doesn't want. Change-Id: I4048d7aed756b6ebc26fb6f8e384f44c64281f90 Reviewed-on: https://go-review.googlesource.com/c/tools/+/213129 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.