I see your point! Line 46 would never be in production, that was just to return for the specific situation I was testing, but the other loop would make more sense using sync. I'll take a look into sync functionality as I've not used it before, but that seems like the idiomatic way to do it! Thanks again!
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.