Proof of concept API library for Calibre and calibredb
with Go and
sqlboiler.
- Install
sqlboiler
andsqlboiler-sqlite3
driver:
$ go install github.com/volatiletech/sqlboiler/v4@latest
$ go install github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-sqlite3@latest
- Generate the
models
package:
# ensure ~/go/bin is in PATH
$ export PATH=$PATH:$HOME/go/bin
$ sqlboiler --add-global-variants -c sqlboiler.toml sqlite3