1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-23 20:32:32 +02:00

Don't check value name on extraction

This commit is contained in:
Asim Aslam 2019-08-06 14:49:42 +01:00
parent beffa625f8
commit c3ea25225c

@ -20,10 +20,6 @@ func extractValue(v reflect.Type, d int) *registry.Value {
v = v.Elem()
}
if len(v.Name()) == 0 {
return nil
}
arg := &registry.Value{
Name: v.Name(),
Type: v.Name(),