mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 23:42:23 +00:00
rpcbinding: reuse upperFirst
helper where possible
No functional changes. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
1356721862
commit
b2f84c83b3
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue