Skip to content

Commit 5ecc566

Browse files
committed
fix: solved error on the functions signatures of the SQL Service interface
1 parent 5e22e2d commit 5ecc566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/interfaces.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ type (
2424
) error
2525
Exec(query *string, params ...any) (sql.Result, error)
2626
ExecWithCtx(
27-
ctx any,
27+
ctx context.Context,
2828
query *string,
2929
params ...any,
3030
) (sql.Result, error)
3131
QueryRow(query *string, params ...any) (*sql.Row, error)
3232
QueryRowWithCtx(
33-
ctx any,
33+
ctx context.Context,
3434
query *string,
3535
params ...any,
3636
) (*sql.Row, error)

0 commit comments

Comments
 (0)