Closed kishaningithub closed 2 months ago
The github.com/mattn/go-sqlite3
is optional if you use Redka as a Go module. You can use any other driver. This is addressed in the docs:
You'll also need an SQLite driver. Use
github.com/mattn/go-sqlite3
if you don't mind CGO. Otherwise use a pure Go drivermodernc.org/sqlite
.
There is also a CGO-free usage example in example/modernc/main.go.
Can CGO dependency be removed? this will greatly improve the portability
https://gitlab.com/cznic/sqlite
This library above is a CGO free port of sqlite