We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76492e8 + d2ecb0b commit be04ec8Copy full SHA for be04ec8
README.md
@@ -62,8 +62,8 @@ err := db.Query().Do( // Do retry operation on errors with best effort
62
return err
63
}
64
type myStruct struct {
65
- id uint64 `sql:"id"`
66
- str string `sql:"myStr"`
+ Id int32 `sql:"id"`
+ Str string `sql:"myStr"`
67
68
var s myStruct
69
if err = row.ScanStruct(&s); err != nil {
0 commit comments