From 5b87c14d653431fb70741aba84f782be4eba98d1 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Fri, 6 Dec 2024 14:18:01 +0100 Subject: [PATCH] update --- src/cmd/migrate/main.go | 6 +++--- src/cmd/server/main.go | 6 +++--- src/cmd/worker/main.go | 6 +++--- src/go.mod | 6 +++--- src/go.sum | 8 ++++---- src/internal/app/plugins.go | 6 +++--- src/internal/server/catalog_handler.go | 6 +++--- src/internal/server/config.go | 2 +- src/internal/server/health_handler.go | 2 +- src/internal/server/middleware.go | 2 +- src/internal/server/server.go | 6 +++--- src/internal/service/catalog.go | 8 ++++---- src/internal/ui/catalog.go | 4 ++-- src/internal/worker/command.go | 2 +- src/internal/worker/config.go | 2 +- src/internal/worker/worker.go | 8 ++++---- 16 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/cmd/migrate/main.go b/src/cmd/migrate/main.go index 8170613..9355284 100644 --- a/src/cmd/migrate/main.go +++ b/src/cmd/migrate/main.go @@ -9,10 +9,10 @@ import ( "github.com/go-pg/migrations/v8" "github.com/go-pg/pg/v10" - "git.pbiernat.io/egommerce/go-api-pkg/fluentd" + "git.ego.cloudns.be/egommerce/go-api-pkg/fluentd" - cnf "git.pbiernat.io/egommerce/catalog-service/internal/server" - baseCnf "git.pbiernat.io/egommerce/go-api-pkg/config" + cnf "git.ego.cloudns.be/egommerce/catalog-service/internal/server" + baseCnf "git.ego.cloudns.be/egommerce/go-api-pkg/config" ) const ( diff --git a/src/cmd/server/main.go b/src/cmd/server/main.go index 4f6b53e..032e4c8 100644 --- a/src/cmd/server/main.go +++ b/src/cmd/server/main.go @@ -5,10 +5,10 @@ import ( "log" "os" - cnf "git.pbiernat.io/egommerce/go-api-pkg/config" + cnf "git.ego.cloudns.be/egommerce/go-api-pkg/config" - "git.pbiernat.io/egommerce/catalog-service/internal/app" - "git.pbiernat.io/egommerce/catalog-service/internal/server" + "git.ego.cloudns.be/egommerce/catalog-service/internal/app" + "git.ego.cloudns.be/egommerce/catalog-service/internal/server" ) func main() { diff --git a/src/cmd/worker/main.go b/src/cmd/worker/main.go index e4d42d6..d645863 100644 --- a/src/cmd/worker/main.go +++ b/src/cmd/worker/main.go @@ -5,10 +5,10 @@ import ( "log" "os" - cnf "git.pbiernat.io/egommerce/go-api-pkg/config" + cnf "git.ego.cloudns.be/egommerce/go-api-pkg/config" - "git.pbiernat.io/egommerce/catalog-service/internal/app" - "git.pbiernat.io/egommerce/catalog-service/internal/worker" + "git.ego.cloudns.be/egommerce/catalog-service/internal/app" + "git.ego.cloudns.be/egommerce/catalog-service/internal/worker" ) func main() { diff --git a/src/go.mod b/src/go.mod index d1193a5..20288fc 100644 --- a/src/go.mod +++ b/src/go.mod @@ -1,10 +1,8 @@ -module git.pbiernat.io/egommerce/catalog-service +module git.ego.cloudns.be/egommerce/catalog-service go 1.18 require ( - git.pbiernat.io/egommerce/api-entities v0.2.3 - git.pbiernat.io/egommerce/go-api-pkg v0.3.28 github.com/georgysavva/scany/v2 v2.0.0 github.com/go-pg/migrations/v8 v8.1.0 github.com/go-pg/pg/v10 v10.11.1 @@ -16,6 +14,8 @@ require ( ) require ( + git.ego.cloudns.be/egommerce/api-entities v0.2.5 // indirect + git.ego.cloudns.be/egommerce/go-api-pkg v0.3.36 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/andybalholm/brotli v1.1.0 // indirect github.com/armon/go-metrics v0.4.1 // indirect diff --git a/src/go.sum b/src/go.sum index 1cd5814..a61e7bd 100644 --- a/src/go.sum +++ b/src/go.sum @@ -35,10 +35,10 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -git.pbiernat.io/egommerce/api-entities v0.2.3 h1:mR6EYfZkAzh4teydb7KXDBWoxwVW3qasnmmH5J3mnas= -git.pbiernat.io/egommerce/api-entities v0.2.3/go.mod h1:INXAG5x4+i+vNwg1NpfPHiDW8nY1kn1K7pgLOtX+/I0= -git.pbiernat.io/egommerce/go-api-pkg v0.3.28 h1:PiqwprMSJxtK/nLUiidfBQUHz2n6XIpWZysWNfby4kw= -git.pbiernat.io/egommerce/go-api-pkg v0.3.28/go.mod h1:XIy2mmvRNIzQmYIUAcDZafhRPxTQFS2HDmsK7ZQ6980= +git.ego.cloudns.be/egommerce/api-entities v0.2.5 h1:A7KQNXLB3l0ck7/R6MzyU33H490feZOlEodnU6bC+DA= +git.ego.cloudns.be/egommerce/api-entities v0.2.5/go.mod h1:xr9mW9DKq+oNO4cMqtqY3VCAVCn6iImw4MqNj51dTFc= +git.ego.cloudns.be/egommerce/go-api-pkg v0.3.36 h1:RfCAifTf2VIJEOgA6to1Z7ObTo9HrrICdI64Iu5yALI= +git.ego.cloudns.be/egommerce/go-api-pkg v0.3.36/go.mod h1:ztg4ai8bw6gRjD4Sln35gUz0DLMcRXDgYViidjpx6BQ= github.com/Azure/azure-sdk-for-go v44.0.0+incompatible h1:e82Yv2HNpS0kuyeCrV29OPKvEiqfs2/uJHic3/3iKdg= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest/autorest v0.11.18 h1:90Y4srNYrwOtAgVo3ndrQkTYn6kf1Eg/AjTFJ8Is2aM= diff --git a/src/internal/app/plugins.go b/src/internal/app/plugins.go index 9fe3c45..b810084 100644 --- a/src/internal/app/plugins.go +++ b/src/internal/app/plugins.go @@ -9,10 +9,10 @@ import ( redis "github.com/go-redis/redis/v8" amqp "github.com/rabbitmq/amqp091-go" - "git.pbiernat.io/egommerce/go-api-pkg/consul" - "git.pbiernat.io/egommerce/go-api-pkg/fluentd" + "git.ego.cloudns.be/egommerce/go-api-pkg/consul" + "git.ego.cloudns.be/egommerce/go-api-pkg/fluentd" - db "git.pbiernat.io/egommerce/catalog-service/pkg/database" + db "git.ego.cloudns.be/egommerce/catalog-service/pkg/database" ) type ( diff --git a/src/internal/server/catalog_handler.go b/src/internal/server/catalog_handler.go index 9d1add5..6daaa22 100644 --- a/src/internal/server/catalog_handler.go +++ b/src/internal/server/catalog_handler.go @@ -6,10 +6,10 @@ import ( "github.com/gofiber/fiber/v2" "github.com/google/uuid" - def "git.pbiernat.io/egommerce/api-entities/http" + def "git.ego.cloudns.be/egommerce/api-entities/http" - "git.pbiernat.io/egommerce/catalog-service/internal/service" - "git.pbiernat.io/egommerce/catalog-service/internal/ui" + "git.ego.cloudns.be/egommerce/catalog-service/internal/service" + "git.ego.cloudns.be/egommerce/catalog-service/internal/ui" ) func (s *Server) GetProductListHandler(c *fiber.Ctx) error { diff --git a/src/internal/server/config.go b/src/internal/server/config.go index f1d5c9c..bc77417 100644 --- a/src/internal/server/config.go +++ b/src/internal/server/config.go @@ -6,7 +6,7 @@ import ( "os" "time" - cnf "git.pbiernat.io/egommerce/go-api-pkg/config" + cnf "git.ego.cloudns.be/egommerce/go-api-pkg/config" ) const ( diff --git a/src/internal/server/health_handler.go b/src/internal/server/health_handler.go index f171220..a86a03e 100644 --- a/src/internal/server/health_handler.go +++ b/src/internal/server/health_handler.go @@ -1,7 +1,7 @@ package server import ( - def "git.pbiernat.io/egommerce/api-entities/http" + def "git.ego.cloudns.be/egommerce/api-entities/http" "github.com/gofiber/fiber/v2" ) diff --git a/src/internal/server/middleware.go b/src/internal/server/middleware.go index 8c7a36c..e863d6b 100644 --- a/src/internal/server/middleware.go +++ b/src/internal/server/middleware.go @@ -3,7 +3,7 @@ package server import ( "github.com/gofiber/fiber/v2" - "git.pbiernat.io/egommerce/go-api-pkg/fluentd" + "git.ego.cloudns.be/egommerce/go-api-pkg/fluentd" ) // "github.com/gofiber/fiber/v2" diff --git a/src/internal/server/server.go b/src/internal/server/server.go index b9cbaf4..bff4c30 100644 --- a/src/internal/server/server.go +++ b/src/internal/server/server.go @@ -11,9 +11,9 @@ import ( "github.com/jackc/pgx/v5/pgxpool" amqp "github.com/rabbitmq/amqp091-go" - "git.pbiernat.io/egommerce/api-entities/http" - "git.pbiernat.io/egommerce/go-api-pkg/consul" - "git.pbiernat.io/egommerce/go-api-pkg/fluentd" + "git.ego.cloudns.be/egommerce/api-entities/http" + "git.ego.cloudns.be/egommerce/go-api-pkg/consul" + "git.ego.cloudns.be/egommerce/go-api-pkg/fluentd" ) type ( diff --git a/src/internal/service/catalog.go b/src/internal/service/catalog.go index 8c3d28c..bc47c06 100644 --- a/src/internal/service/catalog.go +++ b/src/internal/service/catalog.go @@ -3,11 +3,11 @@ package service import ( "context" - "git.pbiernat.io/egommerce/api-entities/model" - "git.pbiernat.io/egommerce/catalog-service/internal/event" + "git.ego.cloudns.be/egommerce/api-entities/model" + "git.ego.cloudns.be/egommerce/catalog-service/internal/event" - "git.pbiernat.io/egommerce/go-api-pkg/fluentd" - "git.pbiernat.io/egommerce/go-api-pkg/rabbitmq" + "git.ego.cloudns.be/egommerce/go-api-pkg/fluentd" + "git.ego.cloudns.be/egommerce/go-api-pkg/rabbitmq" "github.com/georgysavva/scany/v2/pgxscan" "github.com/jackc/pgx/v5/pgxpool" diff --git a/src/internal/ui/catalog.go b/src/internal/ui/catalog.go index 2e6be54..601dcc8 100644 --- a/src/internal/ui/catalog.go +++ b/src/internal/ui/catalog.go @@ -4,8 +4,8 @@ import ( "context" "time" - def "git.pbiernat.io/egommerce/api-entities/http" - "git.pbiernat.io/egommerce/catalog-service/internal/service" + def "git.ego.cloudns.be/egommerce/api-entities/http" + "git.ego.cloudns.be/egommerce/catalog-service/internal/service" ) func GetProductList(srv *service.CatalogService, categoryID int, reqID string) ([]def.GetProductResponse, error) { diff --git a/src/internal/worker/command.go b/src/internal/worker/command.go index e03af15..b29c894 100644 --- a/src/internal/worker/command.go +++ b/src/internal/worker/command.go @@ -1,7 +1,7 @@ package worker import ( - "git.pbiernat.io/egommerce/catalog-service/internal/service" + "git.ego.cloudns.be/egommerce/catalog-service/internal/service" ) var ( diff --git a/src/internal/worker/config.go b/src/internal/worker/config.go index 96552b6..922ce2f 100644 --- a/src/internal/worker/config.go +++ b/src/internal/worker/config.go @@ -5,7 +5,7 @@ import ( "net" "os" - cnf "git.pbiernat.io/egommerce/go-api-pkg/config" + cnf "git.ego.cloudns.be/egommerce/go-api-pkg/config" ) const ( diff --git a/src/internal/worker/worker.go b/src/internal/worker/worker.go index 8a647b3..aba3d79 100644 --- a/src/internal/worker/worker.go +++ b/src/internal/worker/worker.go @@ -10,11 +10,11 @@ import ( "github.com/jackc/pgx/v5/pgxpool" amqp "github.com/rabbitmq/amqp091-go" - "git.pbiernat.io/egommerce/go-api-pkg/fluentd" - "git.pbiernat.io/egommerce/go-api-pkg/rabbitmq" + "git.ego.cloudns.be/egommerce/go-api-pkg/fluentd" + "git.ego.cloudns.be/egommerce/go-api-pkg/rabbitmq" - "git.pbiernat.io/egommerce/catalog-service/internal/event" - "git.pbiernat.io/egommerce/catalog-service/internal/service" + "git.ego.cloudns.be/egommerce/catalog-service/internal/event" + "git.ego.cloudns.be/egommerce/catalog-service/internal/service" ) type (