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

Missing snakecase, camelcase and kebabcase functions #15

Open
Ilyes512 opened this issue Oct 29, 2023 · 0 comments
Open

Missing snakecase, camelcase and kebabcase functions #15

Ilyes512 opened this issue Oct 29, 2023 · 0 comments

Comments

@Ilyes512
Copy link

So I understand that we don't have those functions because they depends on a external package huandu/xstrings.

I was wondering if we could just manually add those functions by copy/pasting and of course cleaning up all the code we don't need from the xstrings package (with the copyright header intact of course) including the test file. See https://github.com/huandu/xstrings/blob/master/convert.go#L21

I am willing to make the PR, but wanted to check in first.

The functions at sprig: https://masterminds.github.io/sprig/strings.html#snakecase

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