refactor(service): move txBeginner to separate file

This commit is contained in:
kk10
2026-10-17 11:24:01 +03:00
parent e919fea56e
commit 5bab6a83d5
2 changed files with 11 additions and 4 deletions
-4
View File
@@ -30,10 +30,6 @@ type chatQueries interface {
ListChatsFirstPage(ctx context.Context, arg db.ListChatsFirstPageParams) ([]db.ListChatsFirstPageRow, error)
}
type txBeginner interface {
Begin(ctx context.Context) (pgx.Tx, error)
}
type ChatService struct {
pool txBeginner
q chatQueries