I am now working through “For The Love Of Go”.
This is a more modern introduction to Go that the Go Programming Language book.
It teaches the language starting with tests.
Chapter 2 introduces gofmt which can be used to find formatting errors.
Oddly they can be fixed with go fmt