{"repo":"cvilsmeier/sqinn-go","free":true,"listed":false,"github":"https://github.com/cvilsmeier/sqinn-go","clone":"git clone https://github.com/cvilsmeier/sqinn-go.git","description":"Golang SQLite without cgo","language":"Go","stars":538,"topics":["golang","sqlite"],"license":"MIT","category":"databases-storage","readme_excerpt":"Sqinn-Go is a Go (Golang) library for accessing SQLite databases without cgo. It uses Sqinn under the hood. It starts Sqinn as a child process ( os/exec ) and communicates with Sqinn over stdin/stdout/stderr. The Sqinn child process then does the SQLite work. If you want SQLite but do not want cgo, Sqinn-Go can be a solution. [!NOTE] This work is sponsored by Monibot - Easy Server and Application Monitoring. Try out Monibot at https://monibot.io. It's free. Usage ------------------------------------------------------------------------------ For usage examples, see examples directory. Building ------------------------------------------------------------------------------ The library includes a prebuilt embedded build of sqinn for linux amd64 and windows amd64. If you do not want to use a prebuilt sqinn binary, you can compile sqinn yourself. See for instructions. You must then specify the path to sqinn like so: Pros and Cons ------------------------------------------------------------------------------ Advantages - No need to have gcc installed on development machines. - Go cross compilation works. - Faster build speed than cgo (1s vs 3s for sample program). - Smaller binary size than cgo (2MB vs 10MB for sample program). Disadvantages - No built-in connection pooling. - Sqinn-Go is not a Golang database/sql Driver. - Sqinn covers only a subset of SQLite's C APIs. Performance ------------------------------------------------------------------------------ Performance tests show ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cvilsmeier","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cvilsmeier/sqinn-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}