diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 17:15:53 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 17:15:53 -0600 |
| commit | 948af64ea2b6e586f4d152fcfc7ed168dae4c919 (patch) | |
| tree | 8ac36eed2d783ee57eeb8f45c84adc75e8f7c8d4 /protoParse.go | |
| parent | 7c10ff958e57d02d13287c4cdbe0aca3781e1600 (diff) | |
example doesn't seem to work. why? notsure
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'protoParse.go')
| -rw-r--r-- | protoParse.go | 2 |
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) } |
