commit | 4c874b978acba4ecd4a257d3bb8829dd5de17be8 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Fri Dec 07 13:58:01 2018 -0500 |
committer | Ian Cottrell <iancottrell@google.com> | Fri Dec 07 22:22:22 2018 +0000 |
tree | 39d13b03c7a11e6c3bf355e8aa939d76eba3b384 | |
parent | 8634b1ecd393732f1e82ea5e9e42ddfcecc57333 [diff] |
go/packages/packagestest: allow tests to also specify overlay contents This is needed to write the more advanced test cases for editor integrated tools. The expectation system also uses the overlay rather than the file if it is supplied. Change-Id: I8fd21f4efe5ac5869fa6e25d3cd0d5096051e5e5 Reviewed-on: https://go-review.googlesource.com/c/153240 Reviewed-by: Rebecca Stambler <rstambler@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.