Correct reference to flattenPointer
This commit is contained in:
parent
8685028771
commit
d3bb52f204
1 changed files with 1 additions and 1 deletions
|
@ -97,5 +97,5 @@ func flattenValue(val reflect.Value) FlatMap {
|
|||
}
|
||||
|
||||
func Flatten(val interface{}) FlatMap {
|
||||
return flattenPointer(reflect.ValueOf(val))
|
||||
return flattenValue(reflect.ValueOf(val))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue