commit | 8d383106f7e7ea8a4a51f70b452d532c65fe6e3e | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon Dec 13 10:33:51 2021 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Dec 16 11:15:33 2021 +0000 |
tree | 13271c93414ae0389c6f90018c26012d3328b02d | |
parent | c6ae451aecaf464746839c71164c16e2a397c416 [diff] |
gopls/doc: use improved code generator for API doc Use github.com/jba/printsrc in place of github.com/sanity-io/litter to generate the Go code with API documentation. It is smart enough to elide type names, making the "massive hack" of deleting them unnecessary. It also omits zero values from the output. Change-Id: Ic1bb937b9a3695e6da6db72b74c6049be1c5b80d Reviewed-on: https://go-review.googlesource.com/c/tools/+/370840 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Heschi Kreinick <heschi@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.