Add BlockEntity support
This commit is contained in:
@ -21,3 +21,10 @@ 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
|
||||
}
|
||||
|
Reference in New Issue
Block a user