-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow struct tag, add test #13
Conversation
maybe https://github.com/muir/reflectutils/blob/main/unpack.go#L59 is worth exploring. |
I was looking for something like this when writing auto conversions. I don't think there is a strong need now 🤷🏻♂️ (Especially now that you added tags which seems are not supported there?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Some small minor comments.
Thanks for your contribution 🔥
tags are supported in that package
that said, it's up to you. go source code reimplements what you have many
times, so maybe it is okay. (referencing encoding/json and sql.Scan)
…On Tue, Nov 28, 2023, 4:45 AM Vladislav ***@***.***> wrote:
maybe https://github.com/muir/reflectutils/blob/main/unpack.go#L59 is
worth exploring.
I was looking for something like this when writing auto conversions. I
don't think there is a strong need now 🤷🏻♂️ (Especially now that you
added tags which seems are not supported there?)
—
Reply to this email directly, view it on GitHub
<#13 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARH66OVC3SD4NWTXC5HLJ3YGW6GJAVCNFSM6AAAAAA75QBDFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZGU3DCOJVGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, than you. I'll release a new version today with your changes
allows the usage of gtrs:"x" struct tag