This commit is contained in:
2025-09-28 20:19:45 +03:00
parent 6638ef1b5f
commit 3fd63d5f32
21 changed files with 356 additions and 355 deletions

16
internal/db/fx.go Normal file
View File

@@ -0,0 +1,16 @@
package db
import (
"sipro-mps/internal/marketplace/db"
"go.uber.org/fx"
)
var Module = fx.Options(
fx.Provide(
fx.Annotate(
NewPgxPool,
fx.As(new(db.DBTX)),
),
),
)