Correct function name in comment - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0551df090e6b2a391941bf7383b79c2dbc11d416
(DIR) parent bca40cf0c9c7b75e6d5b4a9ac8b927eb17590c7e
(HTM) 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:
M common/hreflect/helpers.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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)
}