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

proposal: reflect: back out multiple keys in key:value pair in struct tag #62035

Open
eihigh opened this issue Aug 15, 2023 · 2 comments
Open
Labels
Milestone

Comments

@eihigh
Copy link

eihigh commented Aug 15, 2023

Proposal #40281 was once accepted in Go1.16, but was reverted due to breaking changing found.

Now we have new features to improve compatibility. So it would be time to try again.

cc @scorsi

@gopherbot gopherbot added this to the Proposal milestone Aug 15, 2023
@scorsi
Copy link

scorsi commented Aug 15, 2023

Great idea, I still think that's a missing feature !

@ianlancetaylor
Copy link
Contributor

The reflect package would have to know what Go version should be used for the caller for reflect.StructTag.Get. How can that be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Incoming
Development

No branches or pull requests

4 participants