Go fmt
Embrance the chan
Change the event for loops to use channels instead of performing the work directly