add user management functionality with OTP verification and consent handling, DI introduced
This commit is contained in:
15
internal/db/fx.go
Normal file
15
internal/db/fx.go
Normal file
@ -0,0 +1,15 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
sqlcdb "git.logidex.ru/fakz9/logidex-id/internal/db/generated"
|
||||
"go.uber.org/fx"
|
||||
)
|
||||
|
||||
var Module = fx.Options(
|
||||
fx.Provide(
|
||||
fx.Annotate(
|
||||
NewDatabasePool,
|
||||
fx.As(new(sqlcdb.DBTX)),
|
||||
),
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user