temp
This commit is contained in:
16
internal/db/fx.go
Normal file
16
internal/db/fx.go
Normal 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)),
|
||||
),
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user