commit | 92d8274bd7b8a4c65f24bafe401a029e58392704 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Thu Nov 08 16:54:54 2018 -0500 |
committer | Alan Donovan <adonovan@google.com> | Fri Nov 09 20:29:20 2018 +0000 |
tree | 3a1ce01cb9391a1ee1ba336c0317d6a120ad4728 | |
parent | a00bb74625bdd57f48e427e23c0b26f505882e50 [diff] |
go/analysis/passes/printf: preload with facts for std lib This change adds to the list of standard library functions known to be print or printf wrappers. Although the printf Analyzer is capable of identifying wrapper functions in the standard library, some drivers (e.g. Bazel) do not apply analyzers to the standard packages. Really this is a bug in those drivers but it is not likely to be fixed for a while. Change-Id: I2032d0cb5fcb50e7b9933a75809becdd680380ec Reviewed-on: https://go-review.googlesource.com/c/148572 Run-TryBot: Alan Donovan <adonovan@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@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.