Created
August 13, 2013 05:48
-
-
Save mogeta/6218209 to your computer and use it in GitHub Desktop.
if you run "go run hello.go" without setting GOROOT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go run hello.go | |
hello.go:4:2: cannot find package "fmt" in any of: | |
/usr/local/etc/src/pkg/fmt (from $GOROOT) | |
/Users/mogetta/Documents/go/src/fmt (from $GOPATH) | |
package runtime: cannot find package "runtime" in any of: | |
/usr/local/etc/src/pkg/runtime (from $GOROOT) | |
/Users/mogetta/Documents/go/src/runtime (from $GOPATH) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment