From 6920cf1174e9f33b82e5f4a2ac2f93eba6b6ce1c Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 23 Mar 2026 21:47:51 -0400 Subject: [PATCH] chore(lint): modernize interfaces in the db package --- internal/db/db.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/db/db.go b/internal/db/db.go index fa3c5ac5aad27ab1929e306cd50fdb7dba493ea0..6237bba5892b240ddd3c3f018926e2eb0ef4355a 100644 --- a/internal/db/db.go +++ b/internal/db/db.go @@ -11,10 +11,10 @@ import ( ) type DBTX interface { - ExecContext(context.Context, string, ...interface{}) (sql.Result, error) + ExecContext(context.Context, string, ...any) (sql.Result, error) PrepareContext(context.Context, string) (*sql.Stmt, error) - QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error) - QueryRowContext(context.Context, string, ...interface{}) *sql.Row + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row } func New(db DBTX) *Queries {