From 571d01f8052cef27bd5f91a5e95c0735ddf2e327 Mon Sep 17 00:00:00 2001 From: mstmdev Date: Sun, 5 Jun 2022 03:17:07 +0800 Subject: [PATCH] database/sql/driver: fix typo in driver.go --- src/database/sql/driver/driver.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/database/sql/driver/driver.go b/src/database/sql/driver/driver.go index 43fa579bda5..daf282bf74e 100644 --- a/src/database/sql/driver/driver.go +++ b/src/database/sql/driver/driver.go @@ -192,9 +192,9 @@ type Execer interface { // DB.Exec will first prepare a query, execute the statement, and then // close the statement. // -// ExecerContext may return ErrSkip. +// ExecContext may return ErrSkip. // -// ExecerContext must honor the context timeout and return when the context is canceled. +// ExecContext must honor the context timeout and return when the context is canceled. type ExecerContext interface { ExecContext(ctx context.Context, query string, args []NamedValue) (Result, error) } @@ -219,9 +219,9 @@ type Queryer interface { // DB.Query will first prepare a query, execute the statement, and then // close the statement. // -// QueryerContext may return ErrSkip. +// QueryContext may return ErrSkip. // -// QueryerContext must honor the context timeout and return when the context is canceled. +// QueryContext must honor the context timeout and return when the context is canceled. type QueryerContext interface { QueryContext(ctx context.Context, query string, args []NamedValue) (Rows, error) }