Before using go-sqlcipher, I was using gorm + sqilte3 and everything was working fine.
After I switched from sqlite3 to go-sqlcipher, I get an error at runtime like this:
file is not a database
When do some query like:
db.Where().Find()
Where did this go wrong? any clue to resolve this probelem?
Before using
go-sqlcipher
, I was usinggorm
+ sqilte3 and everything was working fine. After I switched fromsqlite3
togo-sqlcipher
, I get an error at runtime like this:When do some query like:
Where did this go wrong? any clue to resolve this probelem?