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

Use camelCase for properties instead of snake case. #19

Open
ppcano opened this issue Oct 21, 2021 · 0 comments
Open

Use camelCase for properties instead of snake case. #19

ppcano opened this issue Oct 21, 2021 · 0 comments

Comments

@ppcano
Copy link
Contributor

ppcano commented Oct 21, 2021

We are discussing the following default, opening the issue not to forget it.

Docs says:

Similarly, Go field names will be converted from Pascal case to Snake case. For example, the struct field SomeField string will be accessible in JS as the some_field object property. This behavior is configurable with the js struct tag, so this can be changed with SomeField string js:"someField" or the field can be hidden with `js:"-"

To align with common JS convention, I suggest naming the property configMaps instead of config_maps:

  • kubernetes.configMaps.get(name)
  • kubernetes.configMaps.list()
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