hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 0551df090e6b2a391941bf7383b79c2dbc11d416
parent bca40cf0c9c7b75e6d5b4a9ac8b927eb17590c7e
Author: Santiago De la Cruz <51337247+xhit@users.noreply.github.com>
Date:   Wed, 21 Apr 2021 17:31:38 -0400

Correct function name in comment

IsInt to IsNumber
Diffstat:
Mcommon/hreflect/helpers.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hreflect/helpers.go b/common/hreflect/helpers.go
@@ -23,7 +23,7 @@ import (
 )
 
 // TODO(bep) replace the private versions in /tpl with these.
-// IsInt returns whether the given kind is a number.
+// IsNumber returns whether the given kind is a number.
 func IsNumber(kind reflect.Kind) bool {
 	return IsInt(kind) || IsUint(kind) || IsFloat(kind)
 }