Refactor: extract.IntoStructPtr
should allow passing non-structure recipients
#421
Labels
enhancement
New feature or request
Currently there are some cases where returning result can be simplified in case
IntoStructPtr
allows passing non-structure recipients, e.g.*string
.Before:
After:
In some built-in libraries (e.g. sql) there is no difference between structure and non-structure recipients: https://pkg.go.dev/database/sql#Rows.Scan
On the other hand, this function is called
IntoStructPtr
, notIntoPtr
orIntoAnyPtr
, so current function list to be discussed.The text was updated successfully, but these errors were encountered: