aboutsummaryrefslogtreecommitdiff
path: root/internal/service/service.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-14 10:45:04 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-14 10:45:04 +0530
commit826434a8597122847f643abe835d5c6e5dd74c4c (patch)
treed07d21bc30d5068e6c1e828a3e42747a8411571e /internal/service/service.go
parentbcfb199ac8e5399e1a92cfbbc28af3674f80959d (diff)
downloadgalleryd-826434a8597122847f643abe835d5c6e5dd74c4c.tar.xz
galleryd-826434a8597122847f643abe835d5c6e5dd74c4c.zip
refactor(service): rename load to reload
Diffstat (limited to 'internal/service/service.go')
-rw-r--r--internal/service/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/service/service.go b/internal/service/service.go
index 68a764e..063c0e7 100644
--- a/internal/service/service.go
+++ b/internal/service/service.go
@@ -9,7 +9,7 @@ import (
// GalleryService provides gallery operations.
type GalleryService interface {
// Load scans the configured roots and builds the in-memory gallery.
- Load(ctx context.Context) error
+ Reload(ctx context.Context) error
// Gallery returns the currently loaded gallery.
Gallery(ctx context.Context) ([]gallery.Photo, error)