diff --git a/backend/internal/interfaces/types.go b/backend/internal/interfaces/types.go index 12a12434..c5f0f075 100644 --- a/backend/internal/interfaces/types.go +++ b/backend/internal/interfaces/types.go @@ -35,27 +35,3 @@ type CoreServer interface { GetAPILimiter() *middleware.RateLimiter GetEcho() *echo.Echo } - -/* -HandlerDependencies defines a minimal interface for individual handlers. -This interface provides only the essential services needed for most handlers, -reducing coupling and making handlers easier to test. - -Usage: - - Used by individual route handlers - - Provides minimal required dependencies - - Makes handlers more testable with minimal mocking - -Example: - - func (h *Handler) HandleCreateUser(deps HandlerDependencies) echo.HandlerFunc { - return func(c echo.Context) error { - // Use deps.GetQueries() for database operations - // Use deps.GetStorage() for file operations - } - } -*/ -type HandlerDependencies interface { - GetQueries() *db.Queries - GetStorage() *storage.Storage -}