Skip to content

Commit

Permalink
doc: fix typo in QueryRow doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dolmen committed Nov 4, 2023
1 parent a3d3eaf commit ea674df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func Exec(ctx context.Context, db PrepareConn, query string, fnPtr interface{})
// If a *[database/sql.Tx] is given as the second argument, the statement will be localized to the transaction (using [database/sql.Tx.StmtContext]).
// The following arguments will be given as arguments to [database/sql.Stmt.QueryRowContext].
//
// The function will return values scanned from the [database.sql.Row] and an error.
// The function will return values scanned from the [database/sql.Row] and an error.
//
// The returned func 'close' must be called once the statement is not needed anymore.
func QueryRow(ctx context.Context, db PrepareConn, query string, fnPtr interface{}) (close func() error, err error) {
Expand Down

0 comments on commit ea674df

Please sign in to comment.