commit | 942d58378d2f3579ccd791f25feaa07c319e1e79 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Mon Sep 17 09:28:16 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Wed Sep 26 00:57:46 2018 +0000 |
tree | fc1e56edcd3668d30a27f46cd043e6dc64b0177b | |
parent | 31d48d9a8c6e57e685683e013f5800f277a8a145 [diff] |
go/cfg: a syntactic control-flow graph (CFG) This package defines a control-flow graph of Go statements and expressions. It was originally built as part of cmd/vet (where it was in turn derived from x/tools/go/ssa) and is being published to make it available to other analyses. Change-Id: Ib6077c5a856bb74d6a8411e9c3f9e2f79beb5658 Reviewed-on: https://go-review.googlesource.com/135636 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.