Created
February 7, 2018 06:33
-
-
Save tomtsang/92ac45012b17bd9bdf9722c69d6d6dad to your computer and use it in GitHub Desktop.
golang-switch-pattern2
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 { | |
case condition1: | |
... | |
case condition2: | |
... | |
default: | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment