Melkeydev/go-blueprint

[Feature Request] Using modernc.org/sqlite driver

Closed this issue · 0 comments

Tell us about your feature request

When using mattn/sqlite users are also bringing in CGO inherently. I think that when selecting the sqlite driver, it should bring in the modernc.org/sqlite driver, which does not use cgo into the project, leading to a safer project and ease of use with sqlite. The only negative is they would get a minor hit in performance with using this driver instead,

speed_test

speed_test_2

Disclaimer

  • I agree