diff --git a/cmd/serve.go b/cmd/serve.go index c6e5437..e05a827 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -7,11 +7,11 @@ import ( "github.com/JulesMike/spoty/cache" "github.com/JulesMike/spoty/config" "github.com/JulesMike/spoty/health" - "github.com/JulesMike/spoty/http" "github.com/JulesMike/spoty/logger" - "github.com/JulesMike/spoty/messenger" "github.com/JulesMike/spoty/spoty" "github.com/JulesMike/spoty/tracer" + "github.com/JulesMike/spoty/transport/http" + "github.com/JulesMike/spoty/transport/messenger" "github.com/spf13/cobra" "go.uber.org/fx" ) diff --git a/http/client.go b/transport/http/client.go similarity index 100% rename from http/client.go rename to transport/http/client.go diff --git a/http/errors.go b/transport/http/errors.go similarity index 100% rename from http/errors.go rename to transport/http/errors.go diff --git a/http/handler.go b/transport/http/handler.go similarity index 100% rename from http/handler.go rename to transport/http/handler.go diff --git a/http/middleware.go b/transport/http/middleware.go similarity index 100% rename from http/middleware.go rename to transport/http/middleware.go diff --git a/http/server.go b/transport/http/server.go similarity index 100% rename from http/server.go rename to transport/http/server.go diff --git a/messenger/publisher.go b/transport/messenger/publisher.go similarity index 100% rename from messenger/publisher.go rename to transport/messenger/publisher.go diff --git a/messenger/router.go b/transport/messenger/router.go similarity index 100% rename from messenger/router.go rename to transport/messenger/router.go diff --git a/messenger/subscriber.go b/transport/messenger/subscriber.go similarity index 100% rename from messenger/subscriber.go rename to transport/messenger/subscriber.go