commit | 51aacb140279dbef8da334580f2b6105110a7604 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Sep 28 10:56:40 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Fri Sep 28 16:51:45 2018 +0000 |
tree | 61d6b558cbbdecf0363d5c8e78e7f1ff348b6774 | |
parent | 7b71b077e1f4a3d5f15ca417a16c3b4dbb629b8b [diff] |
go/analysis: add command-line help The format of Analyzer.Doc is now specified as a short title followed by a longer description. This allows us to build a nice self-documenting command-line interface. Much of the documentation in vet's doc.go and file-level comments can now be displayed to the user. Change-Id: I462343e97ac9b743284aaa3e06e7a81d11e9593f Reviewed-on: https://go-review.googlesource.com/138396 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.