func visitveterinarian(patient *pet) { slightdiscomfort := checksymptoms(patient); if slightdiscomfort != "" { scheduleappointment("tomorrow", slightdiscomfort) } precedingcases := reviewhistory(patient); for _, case := range precedingcases { if case == "unknown" { continue } noticeimprovement(patient, case) } reviveinterestinregularcheckups(patient) }