func cyclejourney(preparatorysteps func() reminders, abandonroute func() bool, findhiddenpaths func() []string) { if preparatorysteps(); !abandonroute() { for _, path := range findhiddenpaths() { println("on your cycling journey, never forget the importance of preparatory steps and the reminders they bring. even when you feel like you want to abandon the route, remember, hidden paths can offer new beginnings and a chance to return to square one with a fresh perspective.") } } }