mirror of https://github.com/golang/go.git
doc: consistent path names in example
Always use /home/you for $HOME in examples. Trivial enough that someone else can integrate this change if they are editing go1.1.html R=r CC=golang-dev https://golang.org/cl/8025043
This commit is contained in:
parent
515353a290
commit
24c2c88b90
|
|
@ -309,7 +309,7 @@ when <code>$GOPATH</code> and <code>$GOROOT</code> are set to the same value.
|
|||
|
||||
<pre>
|
||||
$ GOPATH=$GOROOT go get code.google.com/p/foo/quxx
|
||||
warning: GOPATH set to GOROOT (/home/User/go) has no effect
|
||||
warning: GOPATH set to GOROOT (/home/you/go) has no effect
|
||||
package code.google.com/p/foo/quxx: cannot download, $GOPATH must not be set to $GOROOT. For more details see: go help gopath
|
||||
</pre>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue