rpcbinding: reuse upperFirst helper where possible

No functional changes.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-08-11 15:31:18 +03:00
parent 1356721862
commit b2f84c83b3

View file

@ -864,7 +864,7 @@ func toTypeName(s string) string {
return -1
}
return c
}, strings.ToUpper(s[0:1])+s[1:])
}, upperFirst(s))
}
func addIndent(str string, ind string) string {