commit | 4a1b41eed170862fe82028699015842e9382fe2b | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Wed Oct 17 16:50:47 2018 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Wed Oct 17 21:05:27 2018 +0000 |
tree | 1bd3cf0106756f3beefa57b61b86b1fb0cd0e15e | |
parent | 7099c87f61d54175d5b3a8ac30dbb386eb68fce4 [diff] |
go/packages: don't spam stderr Some editors combine stdout and stderr when running tools, so printing to stderr without failing confuses them. Stop printing go list's warnings. They're still useful for debugging, so users can set GOPACKAGESPRINTGOLISTERRORS to see them. This isn't part of the API and has no compatibility guarantees. Change-Id: I9cf091cf59d082123149888468fa0d126dc972c7 Reviewed-on: https://go-review.googlesource.com/c/142997 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.