Skip to content

Commit

Permalink
basestore: Fix doc comment (#12429)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanslade committed Jul 24, 2020
1 parent 5b7dcce commit c70637d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/db/basestore/rows.go
Expand Up @@ -107,7 +107,7 @@ func ScanFirstInt(rows *sql.Rows, queryErr error) (_ int, _ bool, err error) {
return 0, false, nil
}

// ScanBools reads integer values from the given row object.
// ScanBools reads bool values from the given row object.
func ScanBools(rows *sql.Rows, queryErr error) (_ []bool, err error) {
if queryErr != nil {
return nil, queryErr
Expand All @@ -127,7 +127,7 @@ func ScanBools(rows *sql.Rows, queryErr error) (_ []bool, err error) {
return values, nil
}

// ScanFirstBool reads integer values from the given row object and returns the first one.
// ScanFirstBool reads bool values from the given row object and returns the first one.
// If no rows match the query, a false-valued flag is returned.
func ScanFirstBool(rows *sql.Rows, queryErr error) (_ bool, _ bool, err error) {
if queryErr != nil {
Expand Down

0 comments on commit c70637d

Please sign in to comment.