commit | e10d6c9a84802dced65cb0278773be159bb7ed07 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Jun 15 15:06:09 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Mon Jun 18 16:36:09 2018 +0000 |
tree | c3ae3470f290bb5b0c5c4957b99e651a2ac55e09 | |
parent | c06a8d8ed11aae27b08c1c109a509ada9de81240 [diff] |
godoc/static: use a stable quote function Printf(%q) aka strconv.AppendQuote depends on the Unicode tables du jour, which means gen_test breaks after a Go release in which Unicode evolves. This change uses a very dumb quotation function that emits only ASCII and is independent of the Go release. Perhaps an even better fix would have been to parse the generated file. Change-Id: I197942f1c36a8b53d6a37be4bb2b1e63a208f7e2 Reviewed-on: https://go-review.googlesource.com/119157 Reviewed-by: Ian Lance Taylor <iant@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.