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

Add support for custom initialisms #2

Closed
zx8 opened this issue Jun 18, 2021 · 1 comment
Closed

Add support for custom initialisms #2

zx8 opened this issue Jun 18, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@zx8
Copy link

zx8 commented Jun 18, 2021

In my codebase, I use initialisms that are domain-specific and not included in Go's common initialisms.

The underlying strcase package supports customization, so I think it should be fairly simple to implement in tagliatelle: https://github.com/ettle/strcase#customization

If implemented, it would be great to also raise a PR to support the new configuration in golangci-lint.


Example of the problem:

json(goCamel): got 'docURLs' want 'docUrLs'
@zx8
Copy link
Author

zx8 commented Dec 9, 2023

Closing as this is 2.5 years old without any movement.

@zx8 zx8 closed this as completed Dec 9, 2023
@zx8 zx8 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants