summaryrefslogtreecommitdiff
path: root/protoParse.go
diff options
context:
space:
mode:
Diffstat (limited to 'protoParse.go')
-rw-r--r--protoParse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/protoParse.go b/protoParse.go
index 024125d..6403346 100644
--- a/protoParse.go
+++ b/protoParse.go
@@ -97,7 +97,7 @@ func (pb *Files) protoParse(f *File) error {
parts := strings.Fields(line)
if strings.Contains(line, "autogenpb:sort") {
- newS := parts[1]
+ newS := cases.Title(language.English, cases.NoLower).String(parts[1])
log.Info("Addded Sort:", newS, "in struct", curmsg.Name)
curmsg.Sort = append(curmsg.Sort, newS)
}