aboutsummaryrefslogtreecommitdiff
path: root/internal/api/server.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-13 19:30:02 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-13 19:30:02 +0530
commit887d212288db292dbbc557191ef1507b70ca8507 (patch)
treee7dfc90890555d91f8495443deb948033e693d7b /internal/api/server.go
parent87c5ba8c5f859fd26a038f6a704e856167c78758 (diff)
downloadgalleryd-887d212288db292dbbc557191ef1507b70ca8507.tar.xz
galleryd-887d212288db292dbbc557191ef1507b70ca8507.zip
refactor(api): abstract thumbnail generator
Diffstat (limited to 'internal/api/server.go')
-rw-r--r--internal/api/server.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/api/server.go b/internal/api/server.go
index ad2d776..b1daf0d 100644
--- a/internal/api/server.go
+++ b/internal/api/server.go
@@ -4,7 +4,6 @@ import (
"net/http"
"github.com/RanXom/galleryd/internal/service"
- "github.com/RanXom/galleryd/internal/thumbnail"
)
// Server exposes the gallery over HTTP
@@ -15,5 +14,5 @@ type Server struct {
http *http.Server
gallery service.GalleryService
- thumbnails *thumbnail.Generator
+ thumbnails ThumbnailGenerator
}