tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
195 stars 24 forks source link

Make it possible to use alternative sqlite3 drivers #12

Closed AlekSi closed 1 year ago

AlekSi commented 1 year ago

For example, there is https://modernc.org/sqlite – a transpiled version of sqlite3 into Go.

I think it would be better to make both drivers optional and make users import the right one instead of importing both github.com/mattn/go-sqlite3 and modernc.org/sqlite.

haaawk commented 1 year ago

https://github.com/libsql/libsql-client-go/pull/13 switched to modernc.org/sqlite