aboutsummaryrefslogtreecommitdiff
path: root/internal/service/photo.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-13 15:25:13 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-13 15:25:13 +0530
commit14d934206d85d9dacc62b52674f605dc1bfc890b (patch)
tree3174272c7403908e4197f5a78bac3ddc23a8bdca /internal/service/photo.go
parent1321dbf84b2e81045fedc8c54a0c4158c08b2d7c (diff)
downloadgalleryd-14d934206d85d9dacc62b52674f605dc1bfc890b.tar.xz
galleryd-14d934206d85d9dacc62b52674f605dc1bfc890b.zip
feat(service): initialise photo service
Diffstat (limited to 'internal/service/photo.go')
-rw-r--r--internal/service/photo.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/service/photo.go b/internal/service/photo.go
new file mode 100644
index 0000000..6e56b4a
--- /dev/null
+++ b/internal/service/photo.go
@@ -0,0 +1,12 @@
+package service
+
+import (
+ "context"
+
+ "github.com/RanXom/galleryd/internal/gallery"
+)
+
+// PhotoService provides gallery photos
+type PhotoService interface {
+ Photos(ctx context.Context) ([]gallery.Photo, error)
+}