Hi, Tamas, Thanks for the reply!
The key is a string for my current use. After the data v is retrieved, it is compared with a new data coming from the wire. And then based on the comparison, the new data, which is a newly created piece of memory contains same type of data, will be sent to a C++ library for further processing. The database is then updated after the processing, using the insert/update method. Best Regards, Chun On Saturday, June 3, 2017 at 2:54:27 AM UTC-4, Tamás Gulácsi wrote: > > 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 options, visit https://groups.google.com/d/optout.