bump version

This commit is contained in:
Andrea Maria Piana 2021-07-16 20:07:43 +02:00
parent f31dc5df92
commit 2f6b32b1f5
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
0.81.0
0.82.0

View File

@ -5,8 +5,8 @@ import (
"unicode"
)
// formatName converts to first character of name to lowercase.
func formatName(name string) string {
// firstCharToLower converts to first character of name to lowercase.
func firstCharToLower(name string) string {
ret := []rune(name)
if len(ret) > 0 {
ret[0] = unicode.ToLower(ret[0])
@ -24,7 +24,7 @@ func addSuitableCallbacks(receiver reflect.Value, namespace string, methods map[
if method.PkgPath != "" {
continue // method not exported
}
name := formatName(method.Name)
name := firstCharToLower(method.Name)
methods[namespace+"_"+name] = true
}
}