commit | 641913b2bdc0ebfde3f418ea18eaab5b1b898104 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Tue Aug 14 15:11:50 2018 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Fri Aug 17 16:41:42 2018 +0000 |
tree | 3dc4f58d26f502f8164425e2d7958badf3ded2c0 | |
parent | 1dfe8478fdec02e49c998048ab9f761d64949349 [diff] |
go/packages: reduce the number of export data files loaded In ModeTypes, we only need the roots, in ModeSyntax we need the direct dependancies. We now do exactly what we need rather than the entire set of transitive dependancies. Without this change tools operating on source of a deep dependancy tree are far to slow. Change-Id: I3ddbe660709184758ad33ab7cdea860244433ce6 Reviewed-on: https://go-review.googlesource.com/129355 Run-TryBot: Ian Cottrell <iancottrell@google.com> 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.