commit | dce577ffce43b1b9bc9e92a94a8f166396079f4b | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Tue Nov 12 01:13:35 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Nov 12 17:33:20 2019 +0000 |
tree | 0405c2ef31ad0bc1dddf459c8b4ae63cc6e62232 | |
parent | 74addff584d12841cbae088bd84a5031dce54b20 [diff] |
go/packages: fix failing Windows TryBots for adhoc packages test It looks like the package paths for adhoc package on Windows now keep the file path's original backslashes, rather than switching to forward slashes. Remove the filepath.ToSlash call to handle this. Also, a small change to fix something suggested by staticcheck. Change-Id: I56bd57ed2448dbc724acb9730673fc9d17f16d06 Reviewed-on: https://go-review.googlesource.com/c/tools/+/206677 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Michael Matloob <matloob@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.