golang switch
package main
my_number := 2
fmt.Print("Write ", my_number, " as ")
switch my_number {
case 1:
fmt.Println("one")
case 2:
fmt.Println("two")
case 3:
fmt.Println("three")
default :
// default case
}