Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are these two projects the same project #96

Open
xdeng opened this issue Apr 8, 2023 · 1 comment
Open

Are these two projects the same project #96

xdeng opened this issue Apr 8, 2023 · 1 comment

Comments

@xdeng
Copy link

xdeng commented Apr 8, 2023

https://github.com/glebarez/go-sqlite
https://gitlab.com/cznic/sqlite

@glebarez
Copy link
Owner

glebarez commented Apr 9, 2023

modernc.org/sqlite (https://gitlab.com/cznic/sqlite) consists of:

  1. pure go implementation of SQLite (original C codebase is regularly transpiled to Go with great tools from modernc.org)
  2. implementation for golang database/sql driver interface

glebarez/go-sqlite is just a fork of modernc/sqlite with slight changes in the driver part (2), to behave more closely to mattn’s CGo driver (https://github.com/mattn/go-sqlite3). this slight changes allowed it to be fully compatible with GORM (the GORM driver is in https://github.com/glebarez/sqlite)

So the only reason I had to fork modernc.org/sqlite was to make pure go GORM driver for sqlite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants