commit | 9aea6da185268e75d87fc7b14386a1e13c87442a | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Thu Oct 25 17:23:41 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Mon Oct 29 17:32:15 2018 +0000 |
tree | 0e3c5dcf828cc5963d065c631e3ee86fe2f96815 | |
parent | f60e5f99f0816fc2d9ecb338008ea420248d2943 [diff] |
go/analysis/internal/facts: fact serialization support Package facts provides an implementation of the Import/Export methods of the analysis.Pass interface and functions to encode and decode facts, using Gob encoding, to a file. It will be part of the vet-lite driver (invoked by go vet) but the same logic has been validated in other build systems such as Blaze. Change-Id: I60ef561e84e833b9a3b17c269ab358e7d0800ff3 Reviewed-on: https://go-review.googlesource.com/c/144737 Reviewed-by: Jay Conrod <jayconrod@google.com> 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.