From c452ca52b9c18303045db838c6cead62c1454172 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 27 Dec 2023 12:14:43 +0100 Subject: model: Implement database connection The already implemented storage folder should contain a sqlite database to store most parts of the Ceres user data. --- main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 57204af..cba4416 100644 --- a/main.go +++ b/main.go @@ -7,4 +7,7 @@ import ( func main() { model.InitStorage() defer model.RemoveStorage() + + model.InitDatabase() + defer model.CloseDatabase() } -- cgit v1.2.3-70-g09d2