commit | 3bba45614315521542f59606bf362dcebcdb99f7 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Mon Oct 15 18:09:00 2018 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Tue Oct 16 15:13:54 2018 +0000 |
tree | 7fb7d686c09bf8b6a2981413d81881195159a9ba | |
parent | 5d4988d199e2aeefda3528f599e06410c43caa29 [diff] |
go/packages: don't use os.LookupEnv Get the value of GOARCH from the config instead. It should have been set to the same as the one from the environment by default, but may have been overidden by the caller. Change-Id: If9a6c0ae998c1c72ad2a68fe83c8bb9f5614a189 Reviewed-on: https://go-review.googlesource.com/c/142361 Run-TryBot: Ian Cottrell <iancottrell@google.com> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@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.