Skip to content

Commit 5e22e2d

Browse files
committed
fix: added missing parameter to CreateTransaction method on Service interface
1 parent 82c2d78 commit 5e22e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/pgxpool/interfaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type (
2121
// Service is the interface for the service
2222
Service interface {
2323
Handler
24-
CreateTransaction(fn TransactionFn) error
24+
CreateTransaction(ctx context.Context, fn TransactionFn) error
2525
Exec(query *string, params ...any) (*pgconn.CommandTag, error)
2626
ExecWithCtx(
2727
ctx context.Context,

0 commit comments

Comments
 (0)