• Dave Cheney's avatar
    go/build: give better explanation for "cannot find package" · 11d96dd7
    Dave Cheney authored
    Fixes #4079.
    
    Some example output:
    
    % go install foo/bar
    can't load package: package foo/bar: cannot find package "foo/bar" in any of:
            /home/dfc/go/src/pkg/foo/bar (from $GOROOT)
            /home/dfc/src/foo/bar (from $GOPATH)
            /home/dfc/src2/src/foo/bar
    
    % GOPATH= go install foo/bar
    can't load package: package foo/bar: cannot find package "foo/bar" in any of:
    	/home/dfc/go/src/pkg/foo/bar (from $GOROOT)
    	($GOPATH not set)
    
    R=golang-dev, rsc
    CC=golang-dev
    https://golang.org/cl/6899057
    11d96dd7
Name
Last commit
Last update
..
testdata Loading commit data...
bootstrap.go Loading commit data...
build.go Loading commit data...
clean.go Loading commit data...
discovery.go Loading commit data...
doc.go Loading commit data...
env.go Loading commit data...
fix.go Loading commit data...
fmt.go Loading commit data...
get.go Loading commit data...
help.go Loading commit data...
http.go Loading commit data...
list.go Loading commit data...
main.go Loading commit data...
match_test.go Loading commit data...
mkdoc.sh Loading commit data...
pkg.go Loading commit data...
run.go Loading commit data...
script Loading commit data...
script.txt Loading commit data...
tag_test.go Loading commit data...
test.bash Loading commit data...
test.go Loading commit data...
testflag.go Loading commit data...
tool.go Loading commit data...
vcs.go Loading commit data...
version.go Loading commit data...
vet.go Loading commit data...