go-sqlite3
go-sqlite3 copied to clipboard
How to change the sqlite core?
The Core version of the latest go-sqlite3 is SQLite 3.28.0, which has some security issue, our project have to change to 3.31.1, but I don't down how to modify this go-sqlite3 source code to replace the SQLite core, please give me some suggestion, thanks !
I pushed new tag v1.14.0. So you can upgarde go-sqlite3 now.
The upgrade/upgrade.go script allows to download the latest version:
go run upgrade/upgrade.go
You can then commit, push to your Github fork.
Then use that fork in your projects with Go modules with go mod edit -replace. Example:
go mod edit -replace=github.com/mattn/go-sqlite3=github.com/dolmen-go/[email protected]
(Use my "git go-version" alias to get the version from the commit)