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 found that the FromInterface interface does not support types such as [] string and [] int. If such types are passed in, you need to do the conversion yourself to [] interface {}. I would like to ask if there are any suggestions besides doing the conversion yourself.
The text was updated successfully, but these errors were encountered:
I think the correct approach is to use reflect to obtain the type of interface like the JSON library, instead of directly using swith v. (type), which makes pointer types, arrays, and other types incompatible
I found that the FromInterface interface does not support types such as [] string and [] int. If such types are passed in, you need to do the conversion yourself to [] interface {}. I would like to ask if there are any suggestions besides doing the conversion yourself.
The text was updated successfully, but these errors were encountered: