Branching with if and else in Go is straight-forward.
You can have an if statement without an else.
A statement can precede conditionals; any variables declared in this statement are available in all branches.
There is no ternary if in Go, so you’ll need to use a full if statement even for basic conditions.