// If statements require brace brackets, and do not require parens.
Even if it is single line? // If statements require brace brackets, and do not require parens.
Even if it is single line?This is one of the strong points of go (whether you like it or hate it): gofmt imposes the same formatting rules for everyone using the language. It's not a choice for you (or your project) to make. Period.
This way you can't go wrong adding another statement inside the if.