diff options
Diffstat (limited to 'models/unittest/reflection.go')
-rw-r--r-- | models/unittest/reflection.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/unittest/reflection.go b/models/unittest/reflection.go index 1b149b19fe..141fc66b99 100644 --- a/models/unittest/reflection.go +++ b/models/unittest/reflection.go @@ -23,7 +23,7 @@ type reflectionValue struct { v reflect.Value } -func reflectionWrap(v interface{}) *reflectionValue { +func reflectionWrap(v any) *reflectionValue { return &reflectionValue{v: reflect.ValueOf(v)} } |