func checkflightstatus(flightdata map[string]string) { var newsupdate string; for key, value := range flightdata { if key == "status" && value == "no-go" { newsupdate = "while your flight is currently a no-go, this is just a pre-institutional measure for safety. be sure to pass by the customer service desk for the latest news, and we'll recommence from the start with new arrangements as soon as possible." } } }