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: x/tools/cmd/stringer: parse strings to enums #60087

Closed
mcandre opened this issue May 9, 2023 · 1 comment
Closed

proposal: x/tools/cmd/stringer: parse strings to enums #60087

mcandre opened this issue May 9, 2023 · 1 comment
Labels
Milestone

Comments

@mcandre
Copy link

mcandre commented May 9, 2023

stringer generates to-string methods for enums, which is only half of the marshaling equation.

Please have stringer also generate from-string parsing methods for enums.

@gopherbot gopherbot added this to the Proposal milestone May 9, 2023
@ianlancetaylor ianlancetaylor changed the title proposal: stringer should be able to parse strings to enums proposal: x/tools/cmd/stringer: parse strings to enums May 9, 2023
@ianlancetaylor
Copy link
Contributor

Dup of #23535 and #55860. Closing because we've already made a decision here.

@ianlancetaylor ianlancetaylor closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants