summaryrefslogtreecommitdiffstats
path: root/common/hreflect
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-17 22:03:27 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-17 22:03:27 +0100
commitb80853de90b10171155b8f3fde47d64ec7bfa0dd (patch)
tree435d3dbf7a495a0c6ce64c9769e037179aa0d27b /common/hreflect
parent423594e03a906ef4150f433666ff588b022c3c92 (diff)
all: gofmt -w -r 'interface{} -> any' .
Updates #9687
Diffstat (limited to 'common/hreflect')
-rw-r--r--common/hreflect/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hreflect/helpers.go b/common/hreflect/helpers.go
index 7087a9677..7f3ef7ac2 100644
--- a/common/hreflect/helpers.go
+++ b/common/hreflect/helpers.go
@@ -62,7 +62,7 @@ func IsFloat(kind reflect.Kind) bool {
// IsTruthful returns whether in represents a truthful value.
// See IsTruthfulValue
-func IsTruthful(in interface{}) bool {
+func IsTruthful(in any) bool {
switch v := in.(type) {
case reflect.Value:
return IsTruthfulValue(v)