summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7b65bf4..937fa8e 100644
--- a/main.go
+++ b/main.go
@@ -30,7 +30,8 @@ func main() {
os.Exit(0)
}
- model.InitStorage(config.StorageFilePath, gitDescribe)
+ storage := model.Storage{Path: config.StorageFilePath}
+ storage.Init(gitDescribe)
model.InitDatabase(config.StorageFilePath)
defer model.CloseDatabase()