Skip to content

Commit 19b6ff0

Browse files
Updated api-conventions.md
Modified the first two bullet points under Naming conventions
1 parent eb9c87c commit 19b6ff0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contributors/devel/sig-architecture/api-conventions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,11 +1145,11 @@ reduce data volume, load on the system, and noise exposed to users.
11451145

11461146
## Naming conventions
11471147

1148-
* Go field names must be CamelCase. JSON field names must be camelCase. Other
1148+
* Go field names must be Pascal case. JSON field names must be camelCase. Other
11491149
than capitalization of the initial letter, the two should almost always match.
1150-
No underscores nor dashes in either.
1151-
* Field and resource names should be declarative, not imperative (DoSomething,
1152-
SomethingDoer, DoneBy, DoneAt).
1150+
No underscores or dashes in either.
1151+
* Field and resource names should be declarative, not imperative (SomethingDoer,
1152+
DoneBy, DoneAt).
11531153
* Use `Node` where referring to
11541154
the node resource in the context of the cluster. Use `Host` where referring to
11551155
properties of the individual physical/virtual system, such as `hostname`,

0 commit comments

Comments
 (0)