From: Santiago De la Cruz <51337247+xhit@users.noreply.github.com> Date: Wed, 21 Apr 2021 21:31:38 +0000 (-0400) Subject: Correct function name in comment X-Git-Tag: v0.83.0~29 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0551df090e6b2a391941bf7383b79c2dbc11d416;p=brevno-suite%2Fhugo Correct function name in comment IsInt to IsNumber --- diff --git a/common/hreflect/helpers.go b/common/hreflect/helpers.go index cd5714d2..0cc42ecc 100644 --- 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) }