From bcb3ab905e789b9213e492bd8de21c3f36aaf71b Mon Sep 17 00:00:00 2001 From: lash Date: Sat, 4 Jan 2025 08:09:18 +0000 Subject: [PATCH] Move db related to own package --- internal/storage/{ => db}/gdbm/gdbm.go | 0 internal/storage/{ => db}/sub_prefix_db.go | 0 internal/storage/{ => db}/sub_prefix_db_test.go | 0 internal/storage/storageservice.go | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename internal/storage/{ => db}/gdbm/gdbm.go (100%) rename internal/storage/{ => db}/sub_prefix_db.go (100%) rename internal/storage/{ => db}/sub_prefix_db_test.go (100%) diff --git a/internal/storage/gdbm/gdbm.go b/internal/storage/db/gdbm/gdbm.go similarity index 100% rename from internal/storage/gdbm/gdbm.go rename to internal/storage/db/gdbm/gdbm.go diff --git a/internal/storage/sub_prefix_db.go b/internal/storage/db/sub_prefix_db.go similarity index 100% rename from internal/storage/sub_prefix_db.go rename to internal/storage/db/sub_prefix_db.go diff --git a/internal/storage/sub_prefix_db_test.go b/internal/storage/db/sub_prefix_db_test.go similarity index 100% rename from internal/storage/sub_prefix_db_test.go rename to internal/storage/db/sub_prefix_db_test.go diff --git a/internal/storage/storageservice.go b/internal/storage/storageservice.go index 7856095..04e75ce 100644 --- a/internal/storage/storageservice.go +++ b/internal/storage/storageservice.go @@ -13,7 +13,7 @@ import ( "git.defalsify.org/vise.git/persist" "git.defalsify.org/vise.git/resource" "git.grassecon.net/urdt/ussd/initializers" - gdbmstorage "git.grassecon.net/urdt/ussd/internal/storage/gdbm" + gdbmstorage "git.grassecon.net/urdt/ussd/internal/storage/db/gdbm" ) var (