diff options
author | uvok cheetah | 2023-12-08 17:08:03 +0000 |
---|---|---|
committer | uvok cheetah | 2023-12-08 17:08:03 +0000 |
commit | 4e44a6606351e76a52719945548a14df4de8f3f6 (patch) | |
tree | 0463ebeaddb4d82fc9fc0ba62a708b3fd772f06c | |
parent | e6d7e091b7b6dde1c736e7baf01fad5fd5c1ce27 (diff) |
Fixup package name after move
-rw-r--r-- | cmd/main.go | 4 | ||||
-rw-r--r-- | persistence/sqlite/sqliteRepository.go | 2 |
2 files changed, 3 insertions, 3 deletions
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} diff --git a/persistence/sqlite/sqliteRepository.go b/persistence/sqlite/sqliteRepository.go index 61e89d8..f505c19 100644 --- a/persistence/sqlite/sqliteRepository.go +++ b/persistence/sqlite/sqliteRepository.go @@ -1,4 +1,4 @@ -package persistence +package sqlite import ( "context" |