ЛР 3 — БПИ2301 — Каменски — на 5 #23

Closed
kmwk10 wants to merge 30 commits from kmwk10/mtusi2026lab3:solution/BPI2301-kamenski into main
2 changed files with 11 additions and 4 deletions
Showing only changes of commit 5bab6a83d5 - Show all commits
-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
+11
View File
@@ -0,0 +1,11 @@
package service
import (
"context"
"github.com/jackc/pgx/v5"
)
type txBeginner interface {
Begin(ctx context.Context) (pgx.Tx, error)
}