Replies: 1 comment 6 replies
-
Hi @gedw99, Thank you for the hint. I'm already using "github.com/glebarez/sqlite" in my other project and it works well. In blocky, we are using sqlite only in tests, so I assume, we don't link in in release binary. But maybe it would make sense to change the implementation if it makes development easier |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @0xERR0R
Was looking at the code base and seeing that your using the CGO based SQLITE driver.
https://gitlab.com/cznic/sqlite is a bit slower but there is no CGO and no need for any Sqlite DB on any OS.
https://github.com/glebarez/go-sqlite uses the above is designed to use Gorm. Its pretty heavily used, and I have had no issues so far with it.
This will make things a lot easier for dev and also users I think. What ya think ?
Here is a very simple example of it used with GORM: https://github.com/atmshang/cached-translate/blob/master/database.go
Beta Was this translation helpful? Give feedback.
All reactions