aboutsummaryrefslogtreecommitdiff
path: root/internal/service/service.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-13 18:41:45 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-13 18:41:45 +0530
commitef5a8b157db8361d2a592f1481ba809ca49dc57d (patch)
tree6f597a6f8a144c6f15933b2d75ad1092f7794082 /internal/service/service.go
parentd754ce4c11af51e06515275b58a3f337a440ed9d (diff)
downloadgalleryd-ef5a8b157db8361d2a592f1481ba809ca49dc57d.tar.xz
galleryd-ef5a8b157db8361d2a592f1481ba809ca49dc57d.zip
feat(service): add photo lookup
Diffstat (limited to 'internal/service/service.go')
-rw-r--r--internal/service/service.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/service/service.go b/internal/service/service.go
index 252abed..68a764e 100644
--- a/internal/service/service.go
+++ b/internal/service/service.go
@@ -13,4 +13,7 @@ type GalleryService interface {
// Gallery returns the currently loaded gallery.
Gallery(ctx context.Context) ([]gallery.Photo, error)
+
+ // Photo returns a single photo by its ID.
+ Photo(ctx context.Context, id string) (gallery.Photo, error)
}