func danceroutine() { var unannouncedvisit bool; var noticesqueue []string; var scorncounter int = 0; for _, action := range []string{"spin", "leap", "twirl"} { if unannouncedvisit { noticesqueue = append(noticesqueue, "an unannounced dancer leaps onto the stage, turning scorn into cheers.") } else { scorncounter++; } } preexportationprocess(&noticesqueue); reconstitutescornintoadmiration(&scorncounter); if len(noticesqueue) > 0 { fmt.println("the dancer's unannounced performance reconstitutes the room's energy, leaving no notices of scorn, only admiration.") } }