diff options
author | Russ Cox <rsc@golang.org> | 2012-03-01 18:26:53 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-03-01 18:26:53 -0500 |
commit | e25d8e2a27e171f7fdad9228a79acbe271efdcba (patch) | |
tree | d63ecae7bca969694ab48878f62dbed168e54f34 /src/cmd/go/help.go | |
parent | b7f94bae2dea6dd1ac5ee48b1d17c21221644967 (diff) | |
download | go-e25d8e2a27e171f7fdad9228a79acbe271efdcba.tar.gz |
go/build: document GOPATH
Fixes issue 2332.
R=golang-dev, remyoudompheng, gri, r, r
CC=golang-dev
http://codereview.appspot.com/5710055
Diffstat (limited to 'src/cmd/go/help.go')
-rw-r--r-- | src/cmd/go/help.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/go/help.go b/src/cmd/go/help.go index 459ba610c..60654a272 100644 --- a/src/cmd/go/help.go +++ b/src/cmd/go/help.go @@ -138,6 +138,9 @@ var helpGopath = &Command{ UsageLine: "gopath", Short: "GOPATH environment variable", Long: ` +The Go path is used to resolve import statements. +It is implemented by and documented in the go/build package. + The GOPATH environment variable lists places to look for Go code. On Unix, the value is a colon-separated string. On Windows, the value is a semicolon-separated string. |