map – articles by tag



Let's take a look to sync.Map usage and it's sources.
Read More → map concurrency

Data handling in concurrent programs

In GO we have goroutines functionality out of the box. We can run code in parallel. But in our parallel running code we can work with shared variables. And it is not clear how exactly GO handles such situations
Read More → slice map counter sync atomic channels mutex lock concurrency race

Principles of map type in GO

The map programming interface in GO described in GO blog. We just need to recall, that map is key-value storage and it should retrieve values by key as fast as possible.
Read More → map sources