commit | c05a0f5be48b3ffd8ff443201b185cba3b01072c | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Sun Jul 26 02:55:12 2020 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Aug 07 22:43:23 2020 +0000 |
tree | 6f0b597cad7f58ef0a8f794054e03c35505d901d | |
parent | 92211316783d93a277f25bf07980c27d58128e5e [diff] |
internal/lsp/cache: refactor `go mod tidy` error logic This CL is mostly a refactoring of the logic to compute errors for `go mod tidy` diagnostics. It had been getting a little confusing, so hopefully this makes things easier to read. I made a few other small changes, such as slightly changing a few error messages and showing diagnostics in the go.mod file for all missing modules. Change-Id: Ia8cf580731b997248591a2d64dff133accd9c5aa Reviewed-on: https://go-review.googlesource.com/c/tools/+/244610 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> 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 prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
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.