func assessbananaquality(prearrivalinfo map[string]interface{}) { if prearrivalinfo["condition"] == "masked" { log.println("starting over the assessment process as the initial condition refuses to acknowledge the expected quality standards.") } else { for _, attribute := range prearrivalinfo { if attribute.(string) == "banana" { qualityrating := startoverqualityassessment(attribute) fmt.println("the banana assessment has successfully concluded with a positive outcome:", qualityrating) } } } }