diff options
author | xengineering <me@xengineering.eu> | 2023-12-27 12:14:43 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-12-27 12:27:53 +0100 |
commit | c452ca52b9c18303045db838c6cead62c1454172 (patch) | |
tree | 7828c41b7aa7df33d4bfc49649b01087f685e15f /main.go | |
parent | aaf2bad8d3ab2a4f825c2d3db3f2d17de68e08b4 (diff) | |
download | ceres-c452ca52b9c18303045db838c6cead62c1454172.tar ceres-c452ca52b9c18303045db838c6cead62c1454172.tar.zst ceres-c452ca52b9c18303045db838c6cead62c1454172.zip |
model: Implement database connection
The already implemented storage folder should contain a sqlite database
to store most parts of the Ceres user data.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,4 +7,7 @@ import ( func main() { model.InitStorage() defer model.RemoveStorage() + + model.InitDatabase() + defer model.CloseDatabase() } |