Skip to content

Commit

Permalink
Merge pull request #1590 from solominka/issue-1589
Browse files Browse the repository at this point in the history
[1589] fix readme
  • Loading branch information
asmyasnikov authored Dec 15, 2024
2 parents 76492e8 + d2ecb0b commit be04ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ err := db.Query().Do( // Do retry operation on errors with best effort
return err
}
type myStruct struct {
id uint64 `sql:"id"`
str string `sql:"myStr"`
Id int32 `sql:"id"`
Str string `sql:"myStr"`
}
var s myStruct
if err = row.ScanStruct(&s); err != nil {
Expand Down

0 comments on commit be04ec8

Please sign in to comment.