commit | 8919434dde1e35f7b9ef589ecb80ec0833f021bc | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Oct 12 16:10:15 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Mon Oct 15 20:10:34 2018 +0000 |
tree | 710497f9b9b832b0e96c40137fc4eb277982eaf2 | |
parent | cdd5f6199ca25d7e80bf55d0e5dde44772a02216 [diff] |
go/analysis/passes/copylock: add workaround for go1.10 CL 121876 made sync.noCopy implement sync.Locker and added this as an assumption to vet. But now that copylock is no longer in the standard library it cannot assume that it is analyzing a recent standard library in which noCopy has an Unlock method. Change-Id: I5a30b3711ae6cc0855eb246fdd93b1906779bdde Reviewed-on: https://go-review.googlesource.com/c/141683 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@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.