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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
#37: new file-level go.lint option. When specified, protoc-gen-go-patch will attempt to fix generated Go names to their idiomatic equivalents, e.g. Id → ID, Url → URL, etc. It will also eliminate stutter from enum values, e.g. Foo_FOO_UNKNOWN → FooUnknown. Thanks to @Green7 for the initial implementation in #22.
File-level (go.lint).initialisms option to specify your own initialisms for go.lint. Example: (go.lint).initialisms = 'RGB'; // Lints RgbColor to RGBColor. You may specify as many custom initialisms as needed. They will only affect identifiers declared in that file.
Fixed
Enum values nested under renamed messages will now be correctly renamed.