commit | 82a3ea8a504c93d7b757804e7cd1983dc8022443 | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Tue Jul 16 17:37:05 2019 -0400 |
committer | Suzy Mueller <suzmue@golang.org> | Thu Jul 18 20:03:17 2019 +0000 |
tree | 7659122f171f50f35aeff5e97e93fd4c2f8da16f | |
parent | c81b74871bfb3aa986d22a2dac8c4f0583912550 [diff] |
internal/imports: save scanned module cache results Save the packages found when scanning of the module cache. The computed package may have a different import path due to replace directives, so this needs to be updated when the moduleResolver is initialized again. Change-Id: Ib575fcc59b814ff263b431362df3698839a282f6 Reviewed-on: https://go-review.googlesource.com/c/tools/+/186301 Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Rebecca Stambler <rstambler@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.