|tagger||Rebecca Stambler <email@example.com>||Wed Nov 06 19:23:27 2019 -0500|
cherry-pick heschi's imports fixes
|author||Heschi Kreinick <firstname.lastname@example.org>||Wed Nov 06 13:23:43 2019 -0500|
|committer||Rebecca Stambler <email@example.com>||Thu Nov 07 00:20:28 2019 +0000|
internal/lsp/source: don't unconditionally name imports In CL 205501 I thoughtlessly set import name to package name, but really we only want to name imports when goimports would do it. For now, it's better to not name them and let the usual imports code add a name if necessary. Fixes golang/go#35397. Change-Id: Id0df866f95e5e86ed72b25fbd1a7224c79ee8084 Reviewed-on: https://go-review.googlesource.com/c/tools/+/205657 Run-TryBot: Heschi Kreinick <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Rebecca Stambler <firstname.lastname@example.org> (cherry picked from commit c2ac6c2a2d7ef39f1c4c195d1cd731098986857f) Reviewed-on: https://go-review.googlesource.com/c/tools/+/205738 Reviewed-by: Heschi Kreinick <email@example.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools,
vet for example, are included in binary Go distributions.
Others, including the Go
guru and the test coverage tool, can be fetched with
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
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.