commit | 8bc39b98806018cdd1163c436250fa9b8048f834 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Fri Dec 07 13:29:09 2018 -0500 |
committer | Ian Cottrell <iancottrell@google.com> | Fri Dec 07 18:38:36 2018 +0000 |
tree | 4ea9302edf6936b41cbe478f82849a75a6f22f77 | |
parent | bcd4e47d02889ebbc25c9f4bf3d27e4124b0bf9d [diff] |
go/packages: an empty overlay does not force source mode we check length of the map, and a non empty map forces source mode. Change-Id: Id314ad87b96d9154198122586fd8672a70c5ca95 Reviewed-on: https://go-review.googlesource.com/c/153198 Run-TryBot: Ian Cottrell <iancottrell@google.com> Reviewed-by: 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.