Peter Turi 6f1960017c Fix scan doing **<type>
Given that the reflect.New already returns a pointer to the type,
this additional Pointer caused the Scan to receive **<types>

The issue with this is that golang's database package contains optimizations
for single pointer types, and thus doesn't use reflection.

This patch (in my benchmarks) decreases CPU usage by 10% and memory usage
by 10%.
2024-02-03 12:45:23 +01:00
..
2020-06-02 09:18:01 +08:00
2022-02-19 17:02:53 +08:00
2024-02-03 12:45:23 +01:00
2022-02-19 17:02:53 +08:00