How to Prevent Concurrent Race Conditions in Go