Skip to content

Commit

Permalink
test: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
tmzane committed Feb 23, 2025
1 parent 9020f91 commit 839f35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func run(ctx context.Context) error {
LastName string `sql:"last_name"`
CreatedAt time.Time `sql:"created_at"`
}
if err := queries.ScanAll(&users, rows); err != nil {
if err := queries.Scan(&users, rows); err != nil {
return err
}

Expand Down

0 comments on commit 839f35e

Please sign in to comment.