diff --git a/cmd/avrogo/template.go b/cmd/avrogo/template.go index b48071e..998167e 100644 --- a/cmd/avrogo/template.go +++ b/cmd/avrogo/template.go @@ -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 {