This commit is contained in:
Vyacheslav1557 2024-11-01 23:22:43 +05:00
parent 568ccea09a
commit c2076338fa
13 changed files with 509 additions and 166 deletions

View file

@ -1,6 +1,7 @@
package postgres
import (
_ "github.com/jackc/pgx/v5/stdlib"
"github.com/jmoiron/sqlx"
"time"
)

View file

@ -1 +1,7 @@
package rabbitmq
import amqp "github.com/rabbitmq/amqp091-go"
func NewRabbitClient(dsn string) (*amqp.Connection, error) {
return amqp.Dial(dsn)
}