There are a few things that must happen. First you need to install the "test" package:
$ export GOPATH=$(pwd)
Note that there is no need to create pkg, as go install will do it for you. After you installed the test package (usually a bad name, BTW) go build main.go , different errors should now appear (for example, "imported and not used")
William Pursell May 15 '12 at 12:45 2012-05-15 12:45
source share