aboutsummaryrefslogtreecommitdiff
path: root/internal/api/server.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-13 15:43:59 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-13 15:43:59 +0530
commit0bf573c82118aaa5b60ab381dee26f43b10004b3 (patch)
tree09905c84f66d87fc6eacff9e8a8ccbdaa8123fe3 /internal/api/server.go
parent5029457e4ebe028995cb0f05ea76687aa4aa8b42 (diff)
downloadgalleryd-0bf573c82118aaa5b60ab381dee26f43b10004b3.tar.xz
galleryd-0bf573c82118aaa5b60ab381dee26f43b10004b3.zip
feat(api): wire application services
Diffstat (limited to 'internal/api/server.go')
-rw-r--r--internal/api/server.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/server.go b/internal/api/server.go
index c455683..c12c5bd 100644
--- a/internal/api/server.go
+++ b/internal/api/server.go
@@ -2,6 +2,8 @@ package api
import (
"net/http"
+
+ "github.com/RanXom/galleryd/internal/service"
)
// Server exposes the gallery over HTTP
@@ -10,4 +12,6 @@ type Server struct {
mux *http.ServeMux
http *http.Server
+
+ gallery service.GalleryService
}