Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Vovcharaa authored and jackc committed Nov 28, 2022
1 parent 8eb062f commit 24c5325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rows.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ func RowToStructByName[T any](row CollectableRow) (T, error) {
return value, err
}

// RowToAddrOfStructByPos returns the address of a T scanned from row. T must be a struct. T must have the same number
// RowToAddrOfStructByName returns the address of a T scanned from row. T must be a struct. T must have the same number
// of named public fields as row has fields. The row and T fields will by matched by name. The match is
// case-insensitive. The database column name can be overridden with a "db" struct tag. If the "db" struct tag is "-"
// then the field will be ignored.
Expand Down

0 comments on commit 24c5325

Please sign in to comment.