FAQ
Please take another look.


https://codereview.appspot.com/6488129/diff/4002/src/cmd/go/main.go
File src/cmd/go/main.go (right):

https://codereview.appspot.com/6488129/diff/4002/src/cmd/go/main.go#newcode131
src/cmd/go/main.go:131: }
On 2012/09/14 13:18:48, dfc wrote:
if gopath := os.Getenv("GOPATH"); gopath == runtime.GOROOT() {
fmt.Fprintf(os.Stderr, "warning: GOPATH set to GOROOT (%s) has no
effect\n",
gopath)
} else if build.IsLocalImport(gopath) {
fmt.Fprintf(os.Stderr, "go: GOPATH cannot be relative.\nRun 'go
help gopath'
for usage.\n")
os.Exit(2)
}
Done.

https://codereview.appspot.com/6488129/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 9 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 14, '12 at 1:13p
activeSep 17, '12 at 8:45p
posts9
users3
websitegolang.org

3 users in discussion

Franciscossouza: 4 posts R: 4 posts Dave: 1 post

People

Translate

site design / logo © 2022 Grokbase