You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
### Protogen
2
2
3
-
We put in a lot of work to post-process the protobuf-generated files to meet our needs. This tool amalgamates all of that so we don't need to keep our various makefiles in sync.
3
+
We put in a lot of work to post-process the protobuf-generated files to meet our needs. This tool
4
+
amalgamates all of that so we don't need to keep our various makefiles in sync.
4
5
5
6
This includes:
6
7
- rewriting generated `String()` methods for enums to be compatible with our old protos
@@ -16,4 +17,6 @@ For structs we generate implementations of:
16
17
-`Equal()`
17
18
-`Size()`
18
19
19
-
For enumerated types we generate a `FromString` method that instantiates the enum from either the old `PascalCase` string we have always supported or the `SCREAMING_SNAKE` string generated by protojson.
20
+
For enumerated types we generate a `FromString` method that instantiates the enum from either the
21
+
old `PascalCase` string we have always supported or the `SCREAMING_SNAKE` string generated by
0 commit comments