You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand exactly why this is happening. I can for sure make a statement my array is not empty before using funk.Get, but maybe funk should return me an empty array?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi,
When using
funk.Get(make([]*Xxxxx, 0), "Aaaa.Bbbbb")
I get this panic:It's related to:
https://github.com/thoas/go-funk/blob/master/retrieve.go#L45-L48
I don't understand exactly why this is happening. I can for sure make a statement my array is not empty before using
funk.Get
, but maybe funk should return me an empty array?Thanks,
The text was updated successfully, but these errors were encountered: