Print all (including spurious) errors

gofmt

gofmt -e {{source.go}}

click the source code to copy install gofmt on any operating system with command-not-found.com