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

Make type to string conversion case insensitive #61

Open
andig opened this issue Apr 29, 2020 · 0 comments
Open

Make type to string conversion case insensitive #61

andig opened this issue Apr 29, 2020 · 0 comments

Comments

@andig
Copy link

andig commented Apr 29, 2020

https://github.com/alvaroloes/enumer/blob/master/enumer.go#L7 shows the template for to string transformation. Reading user input from config file I would like to support this in a case-insensitive way. Since my type is in camel case, there is no option of preparing this operation on the string side before conversion.

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

No branches or pull requests

1 participant