Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(410)

Issue 8248044: code review 8248044: doc: use the already defined GOPATH in PATH

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by frou
Modified:
12 years, 7 months ago
Reviewers:
adg, ioe
CC:
golang-dev, adg
Visibility:
Public.

Description

doc: use the already defined GOPATH in PATH

Patch Set 1 #

Patch Set 2 : diff -r c3c8b7491066 https://code.google.com/p/go #

Patch Set 3 : diff -r 9a2fc97c79d0 https://code.google.com/p/go #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M doc/code.html View 1 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 6
frou
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 7 months ago (2013-04-04 04:09:58 UTC) #1
adg
LGTM
12 years, 7 months ago (2013-04-04 05:32:55 UTC) #2
adg
*** Submitted as https://code.google.com/p/go/source/detail?r=e77430da3316 *** doc: use the already defined GOPATH in PATH R=golang-dev, adg ...
12 years, 7 months ago (2013-04-04 05:36:19 UTC) #3
ioe
NLGTM It breaks mysteriously later leading to increased support load. Details see below. https://codereview.appspot.com/8248044/diff/5001/doc/code.html File ...
12 years, 7 months ago (2013-04-05 07:38:11 UTC) #4
frou
Fair enough. I suppose even when GOPATH only has one element, it should still strictly ...
12 years, 7 months ago (2013-04-05 10:08:44 UTC) #5
adg
12 years, 7 months ago (2013-04-08 04:46:27 UTC) #6
On 5 April 2013 18:38, <nightlyone@googlemail.com> wrote: > NLGTM > > It breaks mysteriously later leading to increased support load. Details > see below. > > > https://codereview.appspot.**com/8248044/diff/5001/doc/**code.html<https://co... > File doc/code.html (right): > > https://codereview.appspot.**com/8248044/diff/5001/doc/** > code.html#newcode128<https://codereview.appspot.com/8248044/diff/5001/doc/code.html#newcode128> > doc/code.html:128: $ <b>export PATH=$PATH:$GOPATH/bin</b> > This will only work in the example. But will mysteriously break, if the > user starts adding more entries to the GOPATH. > > Esp. since go writes only to the FIRST component of it and export > PATH=$PATH:$GOPATH/bin will only add the binary location of the LAST > component to the path. The user will not see his just compiled binaries. > > So please remove this optimization. > > https://codereview.appspot.**com/8248044/<https://codereview.appspot.com/8248... > We use $GOPATH elsewhere throughout this doc for a similar purpose. I think people with multiple $GOPATHs can figure it out (note that we don't even mention multiple GOPATHs in this doc). We can always change it if the support load becomes a problem. Andrew 
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b