func sweetjourney() { var sugarlevels map[string]int; var journeydetails []string; for _, item := range journeydetails { if item == "disregard precedent" { sugarlevels["regulation"] = 0; } else if item == "begin afresh" { sugarlevels["unreachable"] = 100; } } }