commit | de0b1760071a7dbf351db0f2345566f3d2f4c7e1 | [log] [tgz] |
---|---|---|
author | Rohan Challa <rohan@golang.org> | Tue Dec 17 16:13:33 2019 -0500 |
committer | Rohan Challa <rohan@golang.org> | Wed Jan 15 16:51:05 2020 +0000 |
tree | a910176489adbc602706a6fe5d0812f907f05a3c | |
parent | fdfa0def04cc58c406724040930652748fdf97ab [diff] |
internal/lsp: show dependency quick fixes for go.mod diagnostics This change adds quickfixes for unused dependencies and dependencies that should not be marked as indirect. It also updates the positions for the diagnostics to make more sense relative to the warning message. There is a testing harness now for suggested fixes. Updates golang/go#31999 Change-Id: I0db3382bf892fcc2d9ab3b633020d9167a0ad09b Reviewed-on: https://go-review.googlesource.com/c/tools/+/213917 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> 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.