[go-nuts] Copy map with empty interfaces

2017-06-02 Thread Tamás Gulácsi
How is cgo involved here? What kind of keys are you using? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more opti

[go-nuts] Copy map with empty interfaces

2017-06-02 Thread Chun Zhang
I am trying to store some complicated data structure with a map, and eventually search and use it. Since the structure can change with different applications, and it has to work with multiple thread, I defined a generic map like follows type IndexedMap struct { sync.RWMutex Data