mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
fix extraction field naming with standard Go types (#2763)
This commit is contained in:
@@ -44,6 +44,8 @@ func extractValue(v reflect.Type, d int) *registry.Value {
|
||||
continue
|
||||
}
|
||||
val.Name = parts[0]
|
||||
} else {
|
||||
val.Name = f.Name
|
||||
}
|
||||
|
||||
// if there's no name default it
|
||||
|
Reference in New Issue
Block a user