commit | c06a8d8ed11aae27b08c1c109a509ada9de81240 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Fri Jun 15 22:29:15 2018 -0400 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Sun Jun 17 21:38:49 2018 +0000 |
tree | a71c6cfa09609bcd7163cdb413c379265d7dfbc2 | |
parent | 465e6f399236d0ea2466584539d4eab4d3d83720 [diff] |
imports: skip $GOPATH/src/v and $GOPATH/src/mod These are both vgo module cache locations (originally v, soon to be mod). Vgo dumps a lot of code into these directories. If goimports walks in there, it takes forever. Change-Id: I667b0a4979bf6a6b71c3651d25ec29777ff15301 Reviewed-on: https://go-review.googlesource.com/119337 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@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.