formatter.go: typeName() renamed as TypeName()

This commit is contained in:
2024-06-10 09:37:27 +02:00
parent 54041552d4
commit 1757298eb4
9 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const (
func checkStringParamExpected(funcName string, paramValue any, paramPos int) (err error) {
if !(IsString(paramValue) /*|| isList(paramValue)*/) {
err = fmt.Errorf("%s(): param nr %d has wrong type %s, string expected", funcName, paramPos+1, typeName(paramValue))
err = fmt.Errorf("%s(): param nr %d has wrong type %s, string expected", funcName, paramPos+1, TypeName(paramValue))
}
return
}