Conditions
if
condition
if foo == 0 {
// Do something
}
else if foo < 0 {
// Do something else
}
else {
// foo is greater than 0
}
if
conditionif foo == 0 {
// Do something
}
else if foo < 0 {
// Do something else
}
else {
// foo is greater than 0
}