all the refactor
Build and Publish / BuildAndDeployAmd64 (push) Failing after 5s
Build and Publish / BuildAndDeployArm64 (push) Failing after 6s

This commit is contained in:
2026-06-28 17:51:52 +02:00
parent 7db0d236c7
commit aa8b2bdedc
84 changed files with 4328 additions and 2344 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ import (
"git.k6n.net/mats/go-cart-actor/pkg/backofficeadmin"
"git.k6n.net/mats/platform/config"
amqp "github.com/rabbitmq/amqp091-go"
"git.k6n.net/mats/platform/rabbit"
)
func main() {
@@ -66,9 +66,9 @@ func main() {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
var conn *amqp.Connection
var conn *rabbit.Conn
if amqpURL != "" {
conn, err = amqp.Dial(amqpURL)
conn, err = rabbit.Dial(amqpURL, "cart-backoffice")
if err != nil {
log.Fatalf("failed to connect to RabbitMQ: %v", err)
}