Skip to content

Instantly share code, notes, and snippets.

@sahajre
Last active August 2, 2019 04:00
Show Gist options
  • Save sahajre/129e2781813708038b4fc39b08e15576 to your computer and use it in GitHub Desktop.
Save sahajre/129e2781813708038b4fc39b08e15576 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
i := 42
switch i {
case 0:
fmt.Println("case 0")
case 1:
fmt.Println("case 1")
default:
fmt.Println("Hello, 世界")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment