commit | 66af5afb1625d129f8bfad6f7d860d7750410e9d | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Wed Nov 13 17:03:07 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Mon Nov 25 20:50:14 2019 +0000 |
tree | 28280a9e05b90f3609f8f94a9c4c1b1c5faef9e5 | |
parent | 59b2cd78f8f2c1ec068e814f6755791ea7223f7f [diff] |
internal/lsp/source: give more imports names Expose ImportPathToAssumedName (internally) and use it in an LSP completion case that doesn't go through the usual imports code. Fixes golang/go#35401. Change-Id: If87912072e11e22c542f7474841e53467a33ef2b Reviewed-on: https://go-review.googlesource.com/c/tools/+/206890 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Rebecca Stambler <rstambler@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.