Closed zx8 closed 12 months ago
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
strcase
tagliatelle
If implemented, it would be great to also raise a PR to support the new configuration in golangci-lint.
golangci-lint
Example of the problem:
json(goCamel): got 'docURLs' want 'docUrLs'
Closing as this is 2.5 years old without any movement.
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 intagliatelle
: https://github.com/ettle/strcase#customizationIf implemented, it would be great to also raise a PR to support the new configuration in
golangci-lint
.Example of the problem: