summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2025-09-18 21:00:28 +0100
committerLeonardo Bishop <me@leonardobishop.net>2025-09-18 21:00:28 +0100
commit9e779891fa91f44a9734b79ccb4f6aef48a0de3f (patch)
tree7b60a2129966461ed56532768c847595fd371377 /main.go
parent39a926cd521806aedc298ddd671d1a118794fcec (diff)
Add filters on html page
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 04864e7..f26e7e0 100644
--- a/main.go
+++ b/main.go
@@ -12,6 +12,7 @@ import (
"git.leonardobishop.net/stash/pkg/database"
"git.leonardobishop.net/stash/pkg/entries"
"git.leonardobishop.net/stash/pkg/html"
+ "git.leonardobishop.net/stash/pkg/kinds"
)
func main() {
@@ -38,10 +39,12 @@ func run() error {
}
entriesService := entries.NewService(db)
+ kindsService := kinds.NewService(db)
htmlService := html.NewService()
api := api.NewServer(api.ApiServices{
EntiresService: entriesService,
+ KindsService: kindsService,
HtmlService: htmlService,
Config: c,