(t reflect.Type)
| 27 | } |
| 28 | |
| 29 | func Type(t reflect.Type) reflect.Type { |
| 30 | if t == nil { |
| 31 | return nil |
| 32 | } |
| 33 | for t.Kind() == reflect.Ptr { |
| 34 | t = t.Elem() |
| 35 | } |
| 36 | return t |
| 37 | } |
| 38 | |
| 39 | func Value(v reflect.Value) reflect.Value { |
| 40 | for v.Kind() == reflect.Ptr || v.Kind() == reflect.Interface { |
searching dependent graphs…