add user management functionality with OTP verification and consent handling, DI introduced

This commit is contained in:
2025-08-10 10:38:49 +03:00
parent 6a9061a3de
commit 5d80a68b44
30 changed files with 828 additions and 528 deletions

15
internal/db/fx.go Normal file
View 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)),
),
),
)