📅  最后修改于: 2022-03-11 14:45:02.298000             🧑  作者: Mango
i := 2
fmt.Print("Write ", i, " as ")
switch i {
case 1:
fmt.Println("one")
case 2:
fmt.Println("two")
case 3:
fmt.Println("three")
}