Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
demoManito committed Aug 24, 2022
1 parent 15dcc4c commit 5862a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan.go
Expand Up @@ -249,7 +249,7 @@ func Scan(rows Rows, db *DB, mode ScanMode) {
// sliceCap := reflectValue.Cap()
// if sliceCap <= 0 {
// sliceCap = 20
}
// }
db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20))
}

Expand Down

0 comments on commit 5862a2e

Please sign in to comment.