4 ms·
Which SQLite Go library do you use? My biggest pain with using SQLite in Go is often the libraries and the reliance of CGO which is what puts me off using Turso
by aranw 8mo ago
Which SQLite Go library do you use? My biggest pain with using SQLite in Go is often the libraries and the reliance of CGO which is what puts me off using Turso
Edit: Looking at the go mod file I noticed github.com/mattn/go-sqlite3 which I think is a C wrapper library so I'm assuming you rely on CGO for compiling
- ncruces 8mo agoYou have at least 2 alternatives that don't require CGO (disclosure, I made the second one): https://pkg.go.dev/modernc.org/sqlite https://pkg.go.dev/modernc.org/sqlite https://pkg.go.dev/github.com/ncruces/go-sqlite3 https://pkg.go.dev/github.com/ncruces/go-sqlite3