Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 6, 2018 06:35
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/3143ecc1e78481ff63578b000f882197 to your computer and use it in GitHub Desktop.
Save parzibyte/3143ecc1e78481ff63578b000f882197 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main(){
lenguaje := "go"
switch 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