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
Hey @chandraanwar91, the underlying value of an array or object is always []interface{} and map[string]interface{} respectively, therefore you can do something like this this for type switching:
switchgObj.Data().(type) {
case []interface{}:
// TODOcasemap[string]interface{}:
// TODOdefault:
// TODO
}
No description provided.
The text was updated successfully, but these errors were encountered: