github.com/rjgonzale/pop/v5@v5.1.3-dev/dialect_sqlite_shim.go (about) 1 // +build !sqlite 2 3 package pop 4 5 import ( 6 "errors" 7 ) 8 9 const nameSQLite3 = "sqlite3" 10 11 func init() { 12 dialectSynonyms["sqlite"] = nameSQLite3 13 newConnection[nameSQLite3] = newSQLite 14 } 15 16 func newSQLite(deets *ConnectionDetails) (dialect, error) { 17 return nil, errors.New("sqlite3 support was not compiled into the binary") 18 }