restructure scanner

This commit is contained in:
sentriz
2019-05-24 14:29:09 +01:00
parent 29702efd51
commit 4398077d1b
5 changed files with 214 additions and 211 deletions

View File

@@ -46,6 +46,7 @@ func main() {
if err != nil {
log.Fatalf("error opening database: %v\n", err)
}
db.Exec("PRAGMA foreign_keys = ON")
s := server.New(
db,
*musicPath,