aboutsummaryrefslogtreecommitdiff
path: root/cmd/server
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-29 23:21:56 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-29 23:21:56 +0200
commit1ae70dbd9124675d4a510954619b01edd5f1f6c3 (patch)
treee6db7f5553a00094d048b6a4d03163853a5a4e7c /cmd/server
parent024da3e546e98cbaeea5f7bc86af12b671996f41 (diff)
downloadlens-1ae70dbd9124675d4a510954619b01edd5f1f6c3.tar.gz
lens-1ae70dbd9124675d4a510954619b01edd5f1f6c3.tar.bz2
lens-1ae70dbd9124675d4a510954619b01edd5f1f6c3.zip
ref: Move away other repositories
Finish moving all repositories to a repository package. This should reduce the amount of packages.
Diffstat (limited to 'cmd/server')
-rw-r--r--cmd/server/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index 4942ac3..76cf0c0 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -19,8 +19,8 @@ import (
"git.sr.ht/~gabrielgio/img"
"git.sr.ht/~gabrielgio/img/pkg/components/auth"
"git.sr.ht/~gabrielgio/img/pkg/components/filesystem"
- "git.sr.ht/~gabrielgio/img/pkg/components/media"
"git.sr.ht/~gabrielgio/img/pkg/database/localfs"
+ "git.sr.ht/~gabrielgio/img/pkg/database/repository"
"git.sr.ht/~gabrielgio/img/pkg/database/sql"
"git.sr.ht/~gabrielgio/img/pkg/ext"
"git.sr.ht/~gabrielgio/img/pkg/view"
@@ -125,7 +125,7 @@ func main() {
scheduler,
logrus.WithField("context", "file scanner"),
)
- exifWorker = worker.NewWorkerFromBatchProcessor[*media.Media](
+ exifWorker = worker.NewWorkerFromBatchProcessor[*repository.Media](
exifScanner,
scheduler,
logrus.WithField("context", "exif scanner"),