commit | 26c26290c3ec4bc75ba9f93d69ab53a878dfc904 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Oct 19 15:05:40 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Fri Oct 19 19:11:07 2018 +0000 |
tree | 3e50f4a911c70fcb4cf285bb026aa827d75b3ff5 | |
parent | 9545aa7b51002313cdc37510dd7664c62c99ec06 [diff] |
go/*: fix pre-1.11 tests packagestest.Modules is now available pre-go1.11 but doesn't add itself to packagestest.All. strings.ReplaceAll is not available in pre-go1.11 Change-Id: Ia8bf0e82bb853c6f29d31ca5c54651097342b19c Reviewed-on: https://go-review.googlesource.com/c/143419 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.