If I am using channels properly should I need to use mutexes?
You don’t need mutex if you use channels correctly. In some cases a solution with mutex might be simpler though. Just make sure the variable(s) holding the channel values are properly initialized before multiple goroutines try to access the channel variables. Once this is done, accessing the channels (e.g. sending values to or receiving values … Read more