package main import ( "fmt" "strings" ) func main() { input := "hello" switch strings.ToUpper(input) { case "HELLO": fmt.Println("Greeting detected!") case "BYE": fmt.Println("Farewell detected!") default: fmt.Println("Unknown input.") } }