commit | 1d1727260058c6d58ebfdeb982c4657342282355 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Thu May 16 10:57:39 2019 -0700 |
committer | Damien Neil <dneil@google.com> | Fri Aug 02 22:01:18 2019 +0000 |
tree | d941cc500b7a3629fccf0fa8d07df88073072868 | |
parent | 43c5e4ca5b1012c595e579f7306906c5aba61e36 [diff] |
go/analysis/passes/printf: improve support for %w Report use of %w with non-error arguments. Report multiple %w in a format. Report use of %w with non-Errorf functions. Fixes golang/go#32070 Change-Id: I65d8fcc235ae2f3717582d00352356eeb0eaf73c Reviewed-on: https://go-review.googlesource.com/c/tools/+/177601 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
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.