From da992500f806bb87b06559d920ee12b7680955ee Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 16 Jun 2022 16:32:31 +0200 Subject: feat: Add worker Add a simple worker to manage a work queue. Right now, it is bit brittled and has no test coverage yet, but it works. Also moved from pico.css to bulma, I like the idea of classes approach of pico but for me bulma yields a better result. --- db/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db') diff --git a/db/db.go b/db/db.go index 5c904fd..948f154 100644 --- a/db/db.go +++ b/db/db.go @@ -11,7 +11,7 @@ var ( ) func ConnectDb() { - DB, err = gorm.Open(sqlite.Open("test.db"), &gorm.Config{}) + DB, err = gorm.Open(sqlite.Open("main.db"), &gorm.Config{}) if err != nil { panic("failed to connect to the database.") -- cgit v1.2.3