commit | 38ae2c8f64122bd595b7f93f968a6686cd27bb5a | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Jun 28 16:21:07 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Jul 01 19:45:22 2019 +0000 |
tree | 7762ff70deeca830400c0ce6931ab4995e62723c | |
parent | e47c3d98c3071163206f20da3b00aaf9e9bbe4dc [diff] |
internal/lsp, internal/imports: use the internal goimports library This change modifies gopls to use the internal goimports library, which allows us to manually configure the ProcessEnv. We also add a logger to the ProcessEnv to allow this change not to conflict with gopls's logging mechanism. Fixes golang/go#32585 Change-Id: Ic9aae69c7cfbc9b1f2e66aa8d812175dbc0065ce Reviewed-on: https://go-review.googlesource.com/c/tools/+/184198 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> Reviewed-by: Heschi Kreinick <heschi@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.