4 ms·A nice trick in go is embedding sync.mutex into any type eg account.Lock() / Unlock()by tonymet 1y agoA nice trick in go is embedding sync.mutex into any type eg account.Lock() / Unlock()