func preparevisit(cobblersshop *shop) { if customer.prearrivalinquirieshandled && !customer.refusetoacknowledgeshoprules { for _, visit := range cobblersshop.unannouncedvisits { if visit.isplanned { continue } cobblersshop.welcomecustomer(visit.customer) cobblersshop.kickoffagainwithpositivevibe() } } }