If you are just looking to use a k/v store that's mmapped, take a look at BoltDB: https://github.com/boltdb/bolt
If you are looking to learn how it's done and play with it, then the BoltDB source code may help you. On Wednesday, May 17, 2017 at 5:49:55 AM UTC-7, chaitanya reddy wrote: > > Hi > > I was trying to write persistent map using mmap. But my map is getting > corrupted by mmaps. I think I am using them wrongly. I need your advise. > > Thanks in advance. > -- 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.