commit | 680468b7556f697577414fb99a2dbdcb97626720 | [log] [tgz] |
---|---|---|
author | Michael Matloob <matloob@golang.org> | Fri Nov 09 16:24:45 2018 -0500 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Nov 12 16:24:42 2018 +0000 |
tree | 6aaed4682b747cb85cec3e29e87f6ee9099595f1 | |
parent | 6d71ab8aade08605ffc36622332264e2f6991952 [diff] |
go/packages: fix flaky TestJSON and reenable it on Go 1.10 The fallback driver wasn't returning the roots in a deterministic order because it was using sticking them in a map and then iterating over that map to get each element. Put them into a slice instead (and make a few small associated changes) to preserve behavior. Fixes golang/go#28040 Fixes golang/go#28609 Change-Id: Ib8f8c88d65b7a48b2b04ca91e2d3c316d5bb5803 Reviewed-on: https://go-review.googlesource.com/c/148880 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@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.