commit | 217a9fc29a97210d23c861d4f90b1df2c69c8f4e | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Wed Nov 24 16:41:22 2021 -0500 |
committer | Ian Cottrell <iancottrell@google.com> | Wed Feb 02 14:52:21 2022 +0000 |
tree | 4d142ba64b7d2f3a1566aa937d09623f670538f8 | |
parent | afd524fc39222bde305fae935e7ac5f95e839b04 [diff] |
gopls: take control of the flag printing Add a copy of flag.PrintDefaults so that we can make changes. This CL does not actually modify anything (although it does have to detect the private stringValue type a slightly different way) For #41860 Change-Id: I19512041f9c1bfde56226aea48302cd63cf670e2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/367837 Trust: Ian Cottrell <iancottrell@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> Reviewed-by: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <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 install
.
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 install golang.org/x/tools/...@latest
.
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.