commit | 3d1ebf6f5a7dc03cba0217e67fb48baa41bfd124 | [log] [tgz] |
---|---|---|
author | Jeff Hodges <jeff@somethingsimilar.com> | Thu Oct 10 19:30:16 2019 -0700 |
committer | Michael Matloob <matloob@golang.org> | Mon Nov 18 21:53:50 2019 +0000 |
tree | 384d2de24263c67f2e6f1b43b5577a23ecd3a7b0 | |
parent | 13f8be5f577fc5865388af8a4818b44dce211b11 [diff] |
go/packages: add String methods for LoadMode This String method makes it easier to debug GOPACKAGESDRIVER code and identify LoadModes in use. Change-Id: I80bf434fc007470b437fb5cf667254737c3a814f Reviewed-on: https://go-review.googlesource.com/c/tools/+/200539 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <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 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.