commit | c84da9fa1c1dbcae4557e8c8509abeb814ed9632 | [log] [tgz] |
---|---|---|
author | David R. Jenni <david.r.jenni@gmail.com> | Mon Nov 06 20:55:38 2017 +0100 |
committer | Alan Donovan <adonovan@google.com> | Mon Nov 06 20:20:52 2017 +0000 |
tree | c4244b50631e9db9c6c2b2aeebeb7fd5fea10252 | |
parent | 9adcb2aa4107eee297917bb99f890a495f7afff9 [diff] |
refactor/rename: fix test failures in TestRewrites. CL https://golang.org/cl/66130 changes go/printer to format one-method interfaces to be printed on a single line. This change broke the equality checkĀ in TestRewrites. Fix it by reformatting the expected file buffers so that the tests pass with tip and previous Go versions. Change-Id: I660efd81b362554db0515760dad7c8b62e4db1b3 Reviewed-on: https://go-review.googlesource.com/75812 Reviewed-by: Alan Donovan <adonovan@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.