glebarez / go-sqlite

pure-Go SQLite driver for Go (SQLite embedded)
BSD 3-Clause "New" or "Revised" License
648 stars 33 forks source link

Are these two projects the same project #96

Open xdeng opened 1 year ago

xdeng commented 1 year ago

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

glebarez commented 1 year ago

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.