Issue
Sqlite database support the following file extensions
.sqlite, .sqlite3, .db, .db3, .s3db, .sl3
but sqlite-ui can only open files with .db extension.
Solution
Make the db uri flexible and allow the users to pass in file name along with the extension
|
db.ConnectDB(fmt.Sprintf("./sqlite_database/%s.db", dbName)) |
Issue
Sqlite database support the following file extensions
.sqlite,.sqlite3,.db,.db3,.s3db,.sl3but sqlite-ui can only open files with
.dbextension.Solution
Make the db uri flexible and allow the users to pass in file name along with the extension
SQLite-UI/main.go
Line 19 in ea5984d