commit | 4c53570e0460bc32468f75bf9dd71c018d03bfa9 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Mon Dec 10 13:43:31 2018 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Mon Dec 10 19:38:48 2018 +0000 |
tree | 95941b44fe559320aa971102dceb4bd337657027 | |
parent | 85346a39118e4327e405a18b545b118b5ff4febf [diff] |
imports: ignore globals in different packages Some people put multiple packages' files in the same directory, most commonly commands and code generators. Global variables from one package should be ignored in other packages. Change-Id: I9a5d27778570183dfe391dd3273dfa8277a29bf2 Reviewed-on: https://go-review.googlesource.com/c/153419 Run-TryBot: Heschi Kreinick <heschi@google.com> 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.