feat:
This commit is contained in:
parent
568ccea09a
commit
c2076338fa
13 changed files with 509 additions and 166 deletions
1
pkg/external/postgres/client.go
vendored
1
pkg/external/postgres/client.go
vendored
|
@ -1,6 +1,7 @@
|
|||
package postgres
|
||||
|
||||
import (
|
||||
_ "github.com/jackc/pgx/v5/stdlib"
|
||||
"github.com/jmoiron/sqlx"
|
||||
"time"
|
||||
)
|
||||
|
|
6
pkg/external/rabbitmq/client.go
vendored
6
pkg/external/rabbitmq/client.go
vendored
|
@ -1 +1,7 @@
|
|||
package rabbitmq
|
||||
|
||||
import amqp "github.com/rabbitmq/amqp091-go"
|
||||
|
||||
func NewRabbitClient(dsn string) (*amqp.Connection, error) {
|
||||
return amqp.Dial(dsn)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue