diff --git a/cmd/server/serve.go b/cmd/server/serve.go index 6c0ec30..34e0b1c 100644 --- a/cmd/server/serve.go +++ b/cmd/server/serve.go @@ -9,10 +9,10 @@ import ( "time" "github.com/ditatompel/xmr-remote-nodes/frontend" - "github.com/ditatompel/xmr-remote-nodes/handler" "github.com/ditatompel/xmr-remote-nodes/internal/config" "github.com/ditatompel/xmr-remote-nodes/internal/cron" "github.com/ditatompel/xmr-remote-nodes/internal/database" + "github.com/ditatompel/xmr-remote-nodes/internal/handler" "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/cors" diff --git a/handler/middlewares.go b/internal/handler/middlewares.go similarity index 100% rename from handler/middlewares.go rename to internal/handler/middlewares.go diff --git a/handler/response.go b/internal/handler/response.go similarity index 100% rename from handler/response.go rename to internal/handler/response.go diff --git a/handler/routes.go b/internal/handler/routes.go similarity index 100% rename from handler/routes.go rename to internal/handler/routes.go