commit | 28e7a3b5fe99cd2d25e3771bd1b6184211de89de | [log] [tgz] |
---|---|---|
author | Josh Bleecher Snyder <josharian@gmail.com> | Tue Sep 29 17:17:27 2020 -0700 |
committer | Josh Bleecher Snyder <josharian@gmail.com> | Sat Feb 27 20:30:18 2021 +0000 |
tree | 10fc12b39c8525b9033950c2df12756da325774a | |
parent | 54dc8c5edb561003330ec7e649333181bbd0a9bd [diff] |
cmd/eg: use go/packages Rewrite eg to use go/packages, so that it works with Go modules. There are two known regressions: * lost build tag support * you can't use a template to add a new dependency These can be re-added at a future point as needed. Change-Id: I2b59bb5e101c738a4d4c40e84a12c5b3a19bcd18 Reviewed-on: https://go-review.googlesource.com/c/tools/+/258304 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <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.