I think, that this library not threadsafe and it affects only encrypted database.
I use it something like that - https://play.golang.org/p/u15ttN2661
And then I encrypt database, parallels write records broke my database.
I see, that similar library mutecomm/go-sqlcipher@e4f3941 use special patch for crypt library.
I think, that this library not threadsafe and it affects only encrypted database.
I use it something like that - https://play.golang.org/p/u15ttN2661
And then I encrypt database, parallels write records broke my database.
I see, that similar library mutecomm/go-sqlcipher@e4f3941 use special patch for crypt library.