commit | 9545aa7b51002313cdc37510dd7664c62c99ec06 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Oct 19 13:50:20 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Fri Oct 19 18:46:07 2018 +0000 |
tree | 968e16593e505d160e19edabbc99061c0cdba387 | |
parent | 5efdaf2100b5f305e331cb3651282d7105af2235 [diff] |
go/analysis/cmd/vet: new name for cmd/analyze This is the new vet command. It can be run standalone: $ vet my/project/... or (soon) under go vet: $ GOVETTOOL=$(which vet) go vet my/project/... A forthcoming CL will add support for the second mode, and define a vet-lite command that supports only that mode, but has fewer dependencies; it is intended to be vendored into $GOROOT/src/cmd/vet. Change-Id: I57696ae6d43aa31fd10b370247b7e7497f0f3597 Reviewed-on: https://go-review.googlesource.com/c/143417 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: 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.