package db import ( "github.com/glebarez/sqlite" "gorm.io/gorm" ) func connectSQLite(filepath string) gorm.Dialector { return sqlite.Open(filepath + "?cache=shared&_fk=1&_driver=modernc.org/sqlite") }