From a19ace85f87c727a32bde8d244f3913452d34342 Mon Sep 17 00:00:00 2001 From: konstantinmds Date: Fri, 10 Jan 2025 13:41:23 +0100 Subject: [PATCH 1/2] refactor: rename files to snake_case --- internal/handlers/application/{menuhandler.go => menu_handler.go} | 0 .../application/{menuhandler_test.go => menu_handler_test.go} | 0 internal/storage/{storageservice.go => storage_service.go} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename internal/handlers/application/{menuhandler.go => menu_handler.go} (100%) rename internal/handlers/application/{menuhandler_test.go => menu_handler_test.go} (100%) rename internal/storage/{storageservice.go => storage_service.go} (100%) diff --git a/internal/handlers/application/menuhandler.go b/internal/handlers/application/menu_handler.go similarity index 100% rename from internal/handlers/application/menuhandler.go rename to internal/handlers/application/menu_handler.go diff --git a/internal/handlers/application/menuhandler_test.go b/internal/handlers/application/menu_handler_test.go similarity index 100% rename from internal/handlers/application/menuhandler_test.go rename to internal/handlers/application/menu_handler_test.go diff --git a/internal/storage/storageservice.go b/internal/storage/storage_service.go similarity index 100% rename from internal/storage/storageservice.go rename to internal/storage/storage_service.go From 3d35a5de789102cec661e7002a7ae2ce29c4b043 Mon Sep 17 00:00:00 2001 From: konstantinmds Date: Fri, 10 Jan 2025 13:43:49 +0100 Subject: [PATCH 2/2] rename files to snake case --- internal/handlers/{handlerservice.go => handler_service.go} | 0 .../httpmocks/{requesthandlermock.go => request_handler_mock.go} | 0 .../httpmocks/{requestparsermock.go => request_parser_mock.go} | 0 .../testutil/mocks/httpmocks/{writermock.go => writer_mock.go} | 0 internal/testutil/mocks/{servicemock.go => service_mock.go} | 0 .../testservice/{accountservice.go => account_service.go} | 0 models/{accountresponse.go => account_response.go} | 0 models/{balanceresponse.go => balance_response.go} | 0 models/{trackstatusresponse.go => track_status_response.go} | 0 remote/{accountservice.go => account_service.go} | 0 10 files changed, 0 insertions(+), 0 deletions(-) rename internal/handlers/{handlerservice.go => handler_service.go} (100%) rename internal/testutil/mocks/httpmocks/{requesthandlermock.go => request_handler_mock.go} (100%) rename internal/testutil/mocks/httpmocks/{requestparsermock.go => request_parser_mock.go} (100%) rename internal/testutil/mocks/httpmocks/{writermock.go => writer_mock.go} (100%) rename internal/testutil/mocks/{servicemock.go => service_mock.go} (100%) rename internal/testutil/testservice/{accountservice.go => account_service.go} (100%) rename models/{accountresponse.go => account_response.go} (100%) rename models/{balanceresponse.go => balance_response.go} (100%) rename models/{trackstatusresponse.go => track_status_response.go} (100%) rename remote/{accountservice.go => account_service.go} (100%) diff --git a/internal/handlers/handlerservice.go b/internal/handlers/handler_service.go similarity index 100% rename from internal/handlers/handlerservice.go rename to internal/handlers/handler_service.go diff --git a/internal/testutil/mocks/httpmocks/requesthandlermock.go b/internal/testutil/mocks/httpmocks/request_handler_mock.go similarity index 100% rename from internal/testutil/mocks/httpmocks/requesthandlermock.go rename to internal/testutil/mocks/httpmocks/request_handler_mock.go diff --git a/internal/testutil/mocks/httpmocks/requestparsermock.go b/internal/testutil/mocks/httpmocks/request_parser_mock.go similarity index 100% rename from internal/testutil/mocks/httpmocks/requestparsermock.go rename to internal/testutil/mocks/httpmocks/request_parser_mock.go diff --git a/internal/testutil/mocks/httpmocks/writermock.go b/internal/testutil/mocks/httpmocks/writer_mock.go similarity index 100% rename from internal/testutil/mocks/httpmocks/writermock.go rename to internal/testutil/mocks/httpmocks/writer_mock.go diff --git a/internal/testutil/mocks/servicemock.go b/internal/testutil/mocks/service_mock.go similarity index 100% rename from internal/testutil/mocks/servicemock.go rename to internal/testutil/mocks/service_mock.go diff --git a/internal/testutil/testservice/accountservice.go b/internal/testutil/testservice/account_service.go similarity index 100% rename from internal/testutil/testservice/accountservice.go rename to internal/testutil/testservice/account_service.go diff --git a/models/accountresponse.go b/models/account_response.go similarity index 100% rename from models/accountresponse.go rename to models/account_response.go diff --git a/models/balanceresponse.go b/models/balance_response.go similarity index 100% rename from models/balanceresponse.go rename to models/balance_response.go diff --git a/models/trackstatusresponse.go b/models/track_status_response.go similarity index 100% rename from models/trackstatusresponse.go rename to models/track_status_response.go diff --git a/remote/accountservice.go b/remote/account_service.go similarity index 100% rename from remote/accountservice.go rename to remote/account_service.go