Skip to content

Conversation

@omegagussan
Copy link
Contributor

This PR refactors the naming conventions:

  • Camel case (camel): Now produces true camelCase with lowercase first letter (e.g., thisIsAProperty)
  • Pascal case (pascal): New option that produces PascalCase with uppercase first letter (e.g., ThisIsAProperty) - this was the old camel behavior
  • Updated all documentation and error messages to include the new pascal option
  • Updated test files to use pascal naming scheme for struct names (since Go structs need to be exported)

The changes ensure that:

  • JSON property keys can use true camelCase via --convert-keys camel
  • Struct names can use PascalCase via --naming-scheme pascal (required for exported Go types)
  • Backward compatibility: users who want the old camel behavior should use pascal instead

@omegagussan
Copy link
Contributor Author

@lerenn I dont seem to understand how these CI examples work. Do you think it can be something in the github actions layer thats broken generically that Ive not caused?

@lerenn
Copy link
Owner

lerenn commented Nov 28, 2025

@omegagussan Yeah sorry about that, I have a PR on it's way to fix these. It's not related to your changes :)

@omegagussan
Copy link
Contributor Author

@lerenn It seems I cant retrigger the github actions for CI if this is fixed. Can you?

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

Successfully merging this pull request may close these issues.

2 participants