commit | a434f64ace81347eff0fb4a32bc80a235e0ad762 | [log] [tgz] |
---|---|---|
author | Dominik Honnef <dominik@honnef.co> | Mon Aug 13 22:30:15 2018 +0200 |
committer | Dominik Honnef <dominik@honnef.co> | Mon Aug 13 20:51:10 2018 +0000 |
tree | d5264d616b0580924d0644942c86084d051cbaf5 | |
parent | 87c7dcbd5db6be1a938380ce9944ed2299806701 [diff] |
go/pointer: support reflect.Value in AddExtendedQuery We were calling types.Type.Underlying() too early, which caused CanPoint to see an ordinary struct, not reflect.Value. Change-Id: I23ba3b9451bc1abc1ad8a45c790d2e22c1481f26 Reviewed-on: https://go-review.googlesource.com/129196 Run-TryBot: Dominik Honnef <dominik@honnef.co> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
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.