diff options
| author | mstmdev <mstmdev@gmail.com> | 2022-06-04 19:32:04 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-06-04 21:17:03 +0000 |
| commit | a32a592c8c14927c20ac42808e1fb2e55b2e9470 (patch) | |
| tree | e09bfaaabc37137437822592f09485e5e7442e00 /src/database/sql | |
| parent | 0293c51bc5d8ca0728913c4b7f9f92339f8fd9a6 (diff) | |
| download | go-git-a32a592c8c14927c20ac42808e1fb2e55b2e9470.tar.gz | |
database/sql/driver: fix typo in driver.go
ExecerContext -> ExecContext
QueryerContext -> QueryContext
Change-Id: Id3b1f44de5aa47372d59696523b4379e1fbfc11c
GitHub-Last-Rev: 571d01f8052cef27bd5f91a5e95c0735ddf2e327
GitHub-Pull-Request: golang/go#53235
Reviewed-on: https://go-review.googlesource.com/c/go/+/410415
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/database/sql')
| -rw-r--r-- | src/database/sql/driver/driver.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/database/sql/driver/driver.go b/src/database/sql/driver/driver.go index 43fa579bda..daf282bf74 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) } |
