commit | 5fad05c81888302518e9dfb20b55b3e1790c7a11 | [log] [tgz] |
---|---|---|
author | Jay Conrod <jayconrod@google.com> | Mon Aug 20 17:51:35 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Tue Aug 21 16:42:13 2018 +0000 |
tree | c8afa1d6299d81484fa3c4ae7d9d6d456eef0aa8 | |
parent | c1406c36efe20fb423f43a73518f0454febeed1f [diff] |
go/packages: rename config.Flags to BuildFlags This change adds the -buildflag argument to go/packages/gopackages, which may be passed repeatedly to set config.BuildFlags. I felt -flag was too vague. config.Flags is renamed to config.BuildFlags for consistency, and packages.findExternalDriver now passes -buildflag instead of -flag to drivers. This will break existing drivers. Change-Id: Iaed58026373a46e137a236ee9a652eb3a9433ee3 Reviewed-on: https://go-review.googlesource.com/130136 Reviewed-by: Alan Donovan <adonovan@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 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.