From 0065098188aeee1c2f5456adda8c7114efb624ce Mon Sep 17 00:00:00 2001 From: chen quan Date: Sat, 1 Jul 2023 18:25:33 +0800 Subject: [PATCH] chore: simplify the code (#17) --- multiple.go | 1 - 1 file changed, 1 deletion(-) diff --git a/multiple.go b/multiple.go index 69ec2da..47f3f11 100644 --- a/multiple.go +++ b/multiple.go @@ -117,7 +117,6 @@ func (m *multipleSqlConn) QueryRowPartial(v any, query string, args ...any) erro } func (m *multipleSqlConn) QueryRowPartialCtx(ctx context.Context, v any, query string, args ...any) error { - return m.query(ctx, query, func(ctx context.Context, conn sqlx.SqlConn) error { return conn.QueryRowPartialCtx(ctx, v, query, args...) })