diff --git a/components/finalizer/finalizer.go b/components/finalizer/finalizer.go index 904b148..3999ad6 100644 --- a/components/finalizer/finalizer.go +++ b/components/finalizer/finalizer.go @@ -149,7 +149,8 @@ func Finalize(encTagName string, v interface{}, groups ...string) interface{} { elemKind == reflect.Struct || elemKind == reflect.Slice || elemKind == reflect.Array || - elemKind == reflect.Map { + elemKind == reflect.Map || + elemKind == reflect.Ptr { list := make([]interface{}, val.Len(), val.Len()) for i := 0; i < val.Len(); i++ { if elem := val.Index(i); elem.IsValid() {