Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 6, 2018 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/1a81fd4cc40cb472caa6b43ed71d2071 to your computer and use it in GitHub Desktop.
Save parzibyte/1a81fd4cc40cb472caa6b43ed71d2071 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main(){
switch lenguaje := "go"; lenguaje{
case "c":
fmt.Println("C")
case "java":
fmt.Println("Java")
case "go":
fmt.Println("Go!")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment