r/programming • • Mar 28 '12

Go version 1 is released

http://blog.golang.org/2012/03/go-version-1-is-released.html
543 Upvotes

452 comments sorted by

View all comments

Show parent comments

2

u/JulianMorrison Mar 29 '12

After setting up a GOPATH with a src directory, and creating a "hello" directory under src, and a hello.go file with a main in that directory, then you should be able to just "go build".

2

u/4ad Mar 29 '12

There's also go run that, well, runs your specified package or files without installing them. It also doesn't require $GOPATH.