Skip to content

Commit

Permalink
Fix cases.Title
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcosal committed Nov 29, 2024
1 parent 20b562c commit 2a66a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/avrogo/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func defName(def schema.Definition) string {
}

func symbolName(e *schema.EnumDefinition, symbol string) string {
return defName(e) + cases.Title(language.Und).String(symbol)
return defName(e) + cases.Title(language.Und, cases.NoLower).String(symbol)
}

func quote(s string) string {
Expand Down

0 comments on commit 2a66a53

Please sign in to comment.