commit | f0977a167eecb59b0a32092ce2bf54a297c4e1b4 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Thu Feb 18 11:30:08 2021 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Feb 18 20:17:37 2021 +0000 |
tree | a78321346016182610143f1100e861fb050d4ad2 | |
parent | ab6e2d290d242473fa0f6005764cb2980513ed74 [diff] |
internal/lsp: 'go get' packages instead of modules Previously, we were running `go get` only on modules, which led to us not downloading dependencies of packages. This resulted in further go.mod diagnostics that users could not resolve with quick fixes. Now, download packages directly so that dependencies are downloaded. Fixes golang/go#44307 Change-Id: Id764ea5a2f7028e238eadaaba0ca3cfc765b85b4 Reviewed-on: https://go-review.googlesource.com/c/tools/+/293729 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> (cherry picked from commit 9eb353543b3863294ded54d28374f4af77802ede) Reviewed-on: https://go-review.googlesource.com/c/tools/+/293835
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.