diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-07-13 15:43:59 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-07-13 15:43:59 +0530 |
| commit | 0bf573c82118aaa5b60ab381dee26f43b10004b3 (patch) | |
| tree | 09905c84f66d87fc6eacff9e8a8ccbdaa8123fe3 /internal/api/new.go | |
| parent | 5029457e4ebe028995cb0f05ea76687aa4aa8b42 (diff) | |
| download | galleryd-0bf573c82118aaa5b60ab381dee26f43b10004b3.tar.xz galleryd-0bf573c82118aaa5b60ab381dee26f43b10004b3.zip | |
feat(api): wire application services
Diffstat (limited to 'internal/api/new.go')
| -rw-r--r-- | internal/api/new.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/api/new.go b/internal/api/new.go index d225b02..4941496 100644 --- a/internal/api/new.go +++ b/internal/api/new.go @@ -11,9 +11,10 @@ func New(config Config) *Server { } srv := &Server{ - config: config, - mux: mux, - http: server, + config: config, + mux: mux, + http: server, + gallery: config.Gallery, } srv.mux.HandleFunc( |