func capturemysteriousmoments(slipby []string, preliminarynotice func() bool, restartjourneyifmissed func(event string)) { for _, moment := range slipby { if preliminarynotice() { fmt.println("notice the mysterious beauty of motherhood, each day brings new beginnings; let's restart our adventure if a moment seems to slip by.") } } }