diff options
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/go/alldocs.go | 2 | ||||
| -rw-r--r-- | src/cmd/go/help.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 57716a53f8..e93fd6ebed 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -935,6 +935,8 @@ // unless that directory holds a Go distribution. // Run "go env GOPATH" to see the current GOPATH. // +// See https://golang.org/wiki/SettingGOPATH to set a custom GOPATH. +// // Each directory listed in GOPATH must have a prescribed structure: // // The src directory holds source code. The path below src diff --git a/src/cmd/go/help.go b/src/cmd/go/help.go index fb69d8ec54..0c663ad463 100644 --- a/src/cmd/go/help.go +++ b/src/cmd/go/help.go @@ -295,6 +295,8 @@ to a subdirectory named "go" in the user's home directory unless that directory holds a Go distribution. Run "go env GOPATH" to see the current GOPATH. +See https://golang.org/wiki/SettingGOPATH to set a custom GOPATH. + Each directory listed in GOPATH must have a prescribed structure: The src directory holds source code. The path below src |
