if-else
if condition {
...
} else {
...
}
switch
switch condition {
case c1:
...
case c2:
...
default:
...
}
for
for i := 0; i < count; i++ {
...
}
while
for {
...
}
if-else
if condition {
...
} else {
...
}
switch
switch condition {
case c1:
...
case c2:
...
default:
...
}
for
for i := 0; i < count; i++ {
...
}
while
for {
...
}