commit | 198cae37294c48f180c54b9f66617d821e185fdc | [log] [tgz] |
---|---|---|
author | Tim King <taking@google.com> | Wed Mar 09 18:36:09 2022 -0800 |
committer | Tim King <taking@google.com> | Fri Mar 11 22:34:28 2022 +0000 |
tree | a46502a19396d09fa727d8bfdc405684b4fe3739 | |
parent | ee31f70645d2fe300d55cac3840f42329adf6597 [diff] |
go/ssa: split pkg() into different cases for *Package and *types.Package Splits (*Function).pkg() into different cases for returning a *Package and the *types.Package. Updates golang/go#48525 Change-Id: I1c59679c5acd898cf2009a2e3a0ea96b62f82a06 Reviewed-on: https://go-review.googlesource.com/c/tools/+/391334 Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Run-TryBot: Tim King <taking@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Trust: Tim King <taking@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 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.