bughunt
Learn the basics of Go by fixing a simple program.
Install Go
Download and install Go: http://golang.org/doc/install.
Setup your development environment: http://golang.org/doc/code.html.
Setup the repo
Run go get -d github.org/kvu787/pong
.
OR
Download and extract the repo to:
$GOPATH/src/github.org/kvu787/pong
.
Learn Go
Let's go hunting!
Some nasty bugs are crawling around our repo! Follow the instructions below to squash them.
cd "$GOPATH/src/github.org/kvu787/pong"
.- Run
go run bughunt/fixme.go
. - Edit
fixme.go
and use the compiler and runtime errors to squash those bugs. (See thediff
file for hints.) while (bugs != null) { goto(2) }
.