Adjust blockentities.go.tmpl

This commit is contained in:
Tnze
2022-12-19 00:57:50 +08:00
parent c1a6528a05
commit ebba0a6a63
3 changed files with 7 additions and 12 deletions

View File

@ -21,10 +21,3 @@ func ToGoTypeName(name string) string {
}
return strings.Join(words, "")
}
func ToFuncReceiverName(name string) string {
if len(name) > 0 {
name = string(unicode.ToLower([]rune(name)[0]))
}
return name
}