]> Cypherpunks repositories - gostls13.git/commit
cmd/go: document GOBIN and 'go install' locations
authorJay Conrod <jayconrod@google.com>
Thu, 13 Jun 2019 23:56:37 +0000 (19:56 -0400)
committerJay Conrod <jayconrod@google.com>
Mon, 17 Jun 2019 17:28:00 +0000 (17:28 +0000)
commit530097fe60c3d9feffabf52ea910bf35af9da6fb
tree2b7eca3228c33e7114619f16a1e740462974e2dd
parent7a4d02387fa16cd2a88c30357346e5cf0ae282b1
cmd/go: document GOBIN and 'go install' locations

* In doc/install-source.html, clarify the meaning of $GOBIN and
  describe where executables from the Go distribution are
  installed. Also describe $GOPATH, since it provides a default value
  for $GOBIN and may conflict with $GOROOT.
* Add more detail to 'go help install' as well.

Fixes #31576

Change-Id: Ib8a8c21677c3aa0ebef97a3b587b6f8fe338b80e
Reviewed-on: https://go-review.googlesource.com/c/go/+/182341
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
doc/install-source.html
src/cmd/go/alldocs.go
src/cmd/go/internal/work/build.go