commit | f727befe758c04ce68d52abc6e69ad111e2c6797 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Fri Feb 22 15:48:23 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Tue Feb 26 20:51:52 2019 +0000 |
tree | 9cca4c9bcfdbc3d2fb396ab7456f0ff3339d230b | |
parent | 2dc4ef2775b8122dd5afe2c18fd6f775e87f89e5 [diff] |
go/packages: improve debug logging Address a few irritating glitches in the go list debug logging. - Print a fully runnable command line, with args like "a" "b" "c" instead of [a b c]. - Include stderr in the debug logs for cases where the command fails. - Print the correct PWD environment var from cmd instead of cfg. Change-Id: I58e77b370baf8378a21377b81ee2ba5d21a557ab Reviewed-on: https://go-review.googlesource.com/c/163497 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@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.