The go devs in their infinite wisdom have decided that extending gofmt / go fmt to error on exit is simply too complicated, so we have to script away their inadequacies for them.