commit | 0700b576e4d8bfc20051cc93cfb041e6e52ce8ed | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Mon Jul 30 14:02:51 2018 -0400 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Jul 30 21:13:59 2018 +0000 |
tree | 135a5ca7ca208bcf88d0062d22fc46e0fc4c77ab | |
parent | 8cc4e8a6f4841aa92a8683fca47bc5d64b58875b [diff] |
godoc: don't display tar instructions for malformed download query Ensure that the filename passed via ?download= matches the given regexp before showing the command-line instructions to download it. Change-Id: Ieb7c6912409474f31637ff1193fd195eb9f172b3 Reviewed-on: https://go-review.googlesource.com/126717 Reviewed-by: Bryan C. Mills <bcmills@google.com> Reviewed-by: Filippo Valsorda <filippo@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.