Was testing the vagrant image and got this error, what I committed fixed the issue for me within the test vm
root@vagrant-ubuntu-precise-64:/thrift# go version
go version go1
Making all in go
make[3]: Entering directory `/thrift/lib/go'
Making all in test
make[4]: Entering directory `/thrift/lib/go/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/thrift/lib/go/test'
make[4]: Entering directory `/thrift/lib/go'
/usr/bin/go test ./thrift
# _/thrift/lib/go/thrift
thrift/json_protocol.go:160: function ends without a return statement
FAIL _/thrift/lib/go/thrift [build failed]
make[4]: *** [check-local] Error 2
make[4]: Leaving directory `/thrift/lib/go'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/thrift/lib/go'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/thrift/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/thrift'
make: *** [all] Error 2
committed 3fa14a3