diff options
| author | Leonardo Bishop <me@leonardobishop.net> | 2025-09-18 21:00:28 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.net> | 2025-09-18 21:00:28 +0100 |
| commit | 9e779891fa91f44a9734b79ccb4f6aef48a0de3f (patch) | |
| tree | 7b60a2129966461ed56532768c847595fd371377 /main.go | |
| parent | 39a926cd521806aedc298ddd671d1a118794fcec (diff) | |
Add filters on html page
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |
