feat: added db transactions abstraction; cleaned up user registration; repos adapted new abstraction: all repos now support transactions, if present in ctx

This commit is contained in:
2026-09-01 14:55:20 +02:00
parent f87b0a0707
commit 2e3e82e776
14 changed files with 219 additions and 145 deletions
+7
View File
@@ -0,0 +1,7 @@
package domain
import "context"
type Transactor interface {
WithinTx(ctx context.Context, fn func(ctx context.Context) error) error
}