commit | 4ea155ddbddeeb05c556df189a381646b87bcd8a | [log] [tgz] |
---|---|---|
author | Michael Matloob <matloob@golang.org> | Thu Feb 14 13:39:17 2019 -0500 |
committer | Michael Matloob <matloob@golang.org> | Thu Feb 14 18:55:18 2019 +0000 |
tree | 6644fdcb805a431a4feb89a179d1951e463fc481 | |
parent | c161412db0d0912a7438a865c39bdd7edcd20ede [diff] |
go/buildutil: get tests to pass when run from a module These tests tried to access the user's GOPATH, which can't work if you're running from a module! So use packagestest to set up a fake GOPATH. Also remove a TODO that's never going to be done because we won't be making more investments in go/build. Change-Id: I379c74345ace91e6c4282a42ff62106bf325d0e0 Reviewed-on: https://go-review.googlesource.com/c/162757 Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@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.