Skip to content
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

Merged
merged 4 commits into from
Nov 28, 2023
Merged

allow struct tag, add test #13

merged 4 commits into from
Nov 28, 2023

Conversation

elee1766
Copy link
Contributor

allows the usage of gtrs:"x" struct tag

@elee1766
Copy link
Contributor Author

maybe https://github.com/muir/reflectutils/blob/main/unpack.go#L59 is worth exploring.

@dranikpg
Copy link
Owner

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?)

Copy link
Owner

@dranikpg dranikpg left a 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 🔥

utils.go Outdated Show resolved Hide resolved
utils_test.go Show resolved Hide resolved
utils.go Outdated Show resolved Hide resolved
@elee1766
Copy link
Contributor Author

elee1766 commented Nov 28, 2023 via email

Copy link
Owner

@dranikpg dranikpg left a 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

@dranikpg dranikpg merged commit 003852f into dranikpg:master Nov 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants