8 lines
114 B
Go
8 lines
114 B
Go
|
|
switch x := fetch(); {
|
||
|
|
case x == "cheese":
|
||
|
|
statements
|
||
|
|
case otherBooleanExpression:
|
||
|
|
other
|
||
|
|
statements
|
||
|
|
}
|