From a37b9e8e70fd8e614caa6077b3b8afb488f7f59e Mon Sep 17 00:00:00 2001 From: Jaana Burcu Dogan Date: Thu, 5 Jan 2017 12:28:06 -0800 Subject: doc: explain how to set GOPATH to a custom value Updates #18294. Change-Id: Ib6b84243a15ed921cc8960e5fa355fd7594181e6 Reviewed-on: https://go-review.googlesource.com/34821 Reviewed-by: Brad Fitzpatrick --- doc/code.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/code.html b/doc/code.html index 9978b523b4..703f38a21a 100644 --- a/doc/code.html +++ b/doc/code.html @@ -160,9 +160,13 @@ $ export GOPATH=$(go env GOPATH)

-To learn more about setting up the GOPATH environment variable, -please see -'go help gopath' +To learn more about the GOPATH environment variable, see +'go help gopath'. +

+ +

+To use a custom workspace location, +set the GOPATH environment variable.

Import paths

-- cgit v1.2.3-54-g00ecf