Up Next
May 2, 2019
Well, this is interesting. A tool for code generating typed sync.Map. You can generate map[T1]T2, ie. map[int]*pkg.YourStruct. It's super fast in runtime, since there's no reflection and you don't need to type-cast anything.
a8m/syncmap
A typed implementation of the Go sync.Map using code generation. - a8m/syncmap
GitHub
Join in on the conversation with Vojtech Vitek when you subscribe to Golang Toronto.