Skip to content

Commit

Permalink
[1589] fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
annkolesnikova committed Dec 14, 2024
1 parent 76492e8 commit d2ecb0b
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 d2ecb0b

Please sign in to comment.