Created
February 7, 2018 06:33
-
-
Save tomtsang/645fd2df5f4d74c9e304bcf7d350a8ba to your computer and use it in GitHub Desktop.
golang-switch-pattern1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch var1 { | |
case val1: | |
... | |
case val2: | |
... | |
default: | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment