Format everything with gofmt.
Check the handle, stdin or pipe