/calibre-go

Primary LanguageGoGNU General Public License v3.0GPL-3.0

calibre-go

Proof of concept API library for Calibre and calibredb with Go and sqlboiler.

Regenerate Models

  1. Install sqlboiler and sqlboiler-sqlite3 driver:
$ go install github.com/volatiletech/sqlboiler/v4@latest
$ go install github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-sqlite3@latest
  1. Generate the models package:
# ensure ~/go/bin is in PATH
$ export PATH=$PATH:$HOME/go/bin

$ sqlboiler --add-global-variants -c sqlboiler.toml sqlite3