Added snippet for if err != nil statement.
Fix gofmt tabs/spaces options