Created
November 18, 2016 07:06
-
-
Save ijingo/4ccb931a8fba341ed545602ea91ba4df to your computer and use it in GitHub Desktop.
This file contains hidden or 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
for{ | |
x := 1 | |
switch { | |
case x > 0: | |
fmt.Println("a") | |
case x == 1: | |
fmt.Println("b") | |
default: | |
fmt.Println("c") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment