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