Go supports `if`, `else if`, and `else`. The condition does not strictly require parentheses, but the braces `{}` are mandatory.
Branching logic.
Basic If-Else.
x := 10
if x < 0 {
fmt.Println("Negative")
} else if x == 0 {
fmt.Println("Zero")
} else {
fmt.Println("Positive")
}
The braces are mandatory, even for one-line blocks.