commit | e3efbe408cfb1dc4b54c9c2c607d800ac607de36 | [log] [tgz] |
---|---|---|
author | Michael Matloob <matloob@golang.org> | Mon Jun 03 13:08:31 2019 -0400 |
committer | Michael Matloob <matloob@golang.org> | Mon Oct 28 19:16:33 2019 +0000 |
tree | 21d33432541969331ecf06a2f20f99cc1df1a308 | |
parent | b394bd8bba1d46add1a391b424f469e606099217 [diff] |
go/analysis: rename reportNodef to ReportRangef This adds (or makes exported) a convenience function for reporting diagnostics with a node directly (which is what folks usually want). Change-Id: Ieb7ef2703f99d3a24ba7e48a779be62a7761cd0c Reviewed-on: https://go-review.googlesource.com/c/tools/+/180237 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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.