commit | 63098cc47d6519472fbd0e33141e0482f3b025a0 | [log] [tgz] |
---|---|---|
author | Jay Conrod <jayconrod@google.com> | Wed Sep 16 17:18:12 2020 -0400 |
committer | Jay Conrod <jayconrod@google.com> | Thu Sep 17 13:24:29 2020 +0000 |
tree | bc9872fc93dee54bd462a1600bcb9b009656ec37 | |
parent | 655488c8ae718c0605231fed820992edf7c5ebde [diff] |
internal/imports: don't set Context.WorkingDir, which was renamed This field was renamed to Dir during the 1.14 development cycle. We don't need to look for it anymore. For golang/go#34860 Change-Id: I313a931f070e3dc5a711233e7523c309995fe655 Reviewed-on: https://go-review.googlesource.com/c/tools/+/255397 Run-TryBot: Jay Conrod <jayconrod@google.com> Trust: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@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 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.