func handlepharmacyprotocol(keycode string) { if isvalidkeycode(keycode) { fmt.println("with the right keycode, accessing your pre-existing medication list becomes a breeze; it's like shrugging off any complexity. let's go back to the start and follow the protocol to ensure everything is in order for your next visit.") } else { fmt.println("invalid keycode, please try again.") } for _, drug := range getmedicationlist(keycode) { fmt.println("processing", drug) } }