From 4e44a6606351e76a52719945548a14df4de8f3f6 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Fri, 8 Dec 2023 17:08:03 +0000 Subject: Fixup package name after move --- cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/main.go') diff --git a/cmd/main.go b/cmd/main.go index 4ff1658..6d5dfec 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -11,7 +11,7 @@ import ( myhttp "uvok.de/go/training_fellow/registration/http" "uvok.de/go/training_fellow/registration/http/rest" "uvok.de/go/training_fellow/registration/nats" - persistence "uvok.de/go/training_fellow/registration/persistence/sqlite" + uvok_sqlite "uvok.de/go/training_fellow/registration/persistence/sqlite" ) func main() { @@ -25,7 +25,7 @@ func main() { notifier := &nats.NatsNotifier{} databasePath := path.Join(workDir, "registrations.sqlite") - repository := persistence.NewRepository(databasePath, context) + repository := uvok_sqlite.NewRepository(databasePath, context) service := ®istration.RegistrationService{Notifier: notifier, Repository: repository} handler := &rest.RegistrationHandler{Service: service} -- cgit v1.2.3