go-sqlite3 icon indicating copy to clipboard operation
go-sqlite3 copied to clipboard

gcc dependency removel

Open RutujaRRohom opened this issue 2 years ago • 1 comments

Can we remove the dependency of gcc and CGO_enabled from sqlite3.Or else how can we make it independent of these?

RutujaRRohom avatar Nov 02 '23 08:11 RutujaRRohom

@RutujaRRohom mattn/go-sqlite3 is a Go module that uses C bindings from the original sqlite source code (which is written in C). To remove the gcc and CGO_enabled dependency, you would need to convert all the original sqlite source code into Go.

If you are interested in a sqlite driver without C, I would recommend that you look at https://pkg.go.dev/modernc.org/sqlite#section-readme

chenbobby avatar Dec 06 '23 06:12 chenbobby