Skip to content

Commit 6ab72c5

Browse files
authored
Changed "CamelCase (with an initial capital)" to "PascalCase"
1 parent 2a776bb commit 6ab72c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/programming-guides/style.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ the protocol buffer type definitions.
4646

4747
## Message and Field Names {#message-field-names}
4848

49-
Use CamelCase (with an initial capital) for message names – for example,
50-
`SongServerRequest`. Use underscore_separated_names for field names (including
49+
Use PascalCase (with an initial capital) for message names – for example,
50+
`SongServerRequest`. Use lower_snake_case for field names (including
5151
oneof field and extension names) – for example, `song_name`.
5252

5353
```proto
@@ -89,7 +89,7 @@ repeated string keys = 1;
8989

9090
## Enums {#enums}
9191

92-
Use CamelCase (with an initial capital) for enum type names and
92+
Use PascalCase (with an initial capital) for enum type names and
9393
CAPITALS_WITH_UNDERSCORES for value names:
9494

9595
```proto
@@ -109,7 +109,7 @@ first enum value.
109109

110110
## Services {#services}
111111

112-
If your `.proto` defines an RPC service, you should use CamelCase (with an
112+
If your `.proto` defines an RPC service, you should use PascalCase (with an
113113
initial capital) for both the service name and any RPC method names:
114114

115115
```proto

0 commit comments

Comments
 (0)