A lot of these differences appear to be that my editor uses 4 spaces for indentation and yours uses 2 (such as this one). I don't believe go fmt has an opinion on this.