Search Results
Searching for: Lists in Go
Switch Case
Language: Go
A switch case is used test variable equality for a list of values, where each value is a case. When the variable is equal to one of the cases, the statements following the case are executed.