Skip to content

Instantly share code, notes, and snippets.

@mythril
Created February 18, 2013 04:18
Show Gist options
  • Save mythril/4975107 to your computer and use it in GitHub Desktop.
Save mythril/4975107 to your computer and use it in GitHub Desktop.
user@user-battlestation ~/go/src/github.com/user/mersenne $ go env
warning: GOPATH set to GOROOT (/home/user/go/) has no effect
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/user/go/"
GOROOT="/home/user/go"
GOTOOLDIR="/home/user/go/pkg/tool/linux_amd64"
CGO_ENABLED="1"
user@user-battlestation ~/go/src/github.com/user/mersenne $ ls
main.go MersenneTwister.go
user@user-battlestation ~/go/src/github.com/user/mersenne $ go run main.go
warning: GOPATH set to GOROOT (/home/user/go/) has no effect
main.go:3:8: import "github.com/user/mersenne": cannot find package
user@user-battlestation ~/go/src/github.com/user/mersenne $ cat MersenneTwister.go
package mersenne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment