diff --git a/extractor.go b/extractor.go index 89c00ce..753cc17 100644 --- a/extractor.go +++ b/extractor.go @@ -56,10 +56,6 @@ func extractValue(v reflect.Type, d int) *registry.Value { p = p.Elem() } arg.Type = "[]" + p.Name() - val := extractValue(v.Elem(), d+1) - if val != nil { - arg.Values = append(arg.Values, val) - } } return arg