setup for sqlite

This commit is contained in:
2024-03-02 17:47:13 +00:00
parent 99801f0255
commit 6c5e3d2213
10 changed files with 246 additions and 113 deletions

View File

@@ -11,9 +11,11 @@ import (
"syscall"
"time"
"github.com/innocuous-symmetry/moving-mgmt/db"
"github.com/jritsema/gotoolbox"
"github.com/jritsema/gotoolbox/web"
"github.com/mattn/go-sqlite3"
_ "github.com/mattn/go-sqlite3"
)
var (
@@ -31,6 +33,7 @@ func main() {
//exit process immediately upon sigterm
handleSigTerms()
db.SeedDB()
//parse templates
var err error