commit | eb8585a966a8b3d7fbf87963e1183be0d3c3740b | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Tue Aug 11 21:37:34 2020 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Aug 12 18:23:14 2020 +0000 |
tree | a389561944132e1491266559806dea1b290ceec6 | |
parent | 48a8ffc5b207a945a9758bb150d85c2ccfc2686b [diff] |
internal/lsp: extend the mod handle functions to handle multiple files In the past, we assumed that we would only run these functions on the view's go.mod file. As we expand the concept of a view to possibly include multiple go.mod files, we need to allow these functions to work on multiple go.mod files. Change-Id: If9e7d131007e0977fc48ee2264365773da7d41f7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/248097 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.