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've to store a struct type in the queue. I don't have much control on this struct type and it can be a nested json data that I get from a request. For example
So if I try to add this struct (of type map[string]interface{}) as a prefix queue using pq.EnqueueObject([]byte(k), v)
Then its not getting added to the queue.
I think gob module is not able to decode it.
Is there any way to be able to store this data ?
The text was updated successfully, but these errors were encountered:
I've to store a struct type in the queue. I don't have much control on this struct type and it can be a nested json data that I get from a request. For example
So if I try to add this struct (of type map[string]interface{}) as a prefix queue using pq.EnqueueObject([]byte(k), v)
Then its not getting added to the queue.
I think gob module is not able to decode it.
Is there any way to be able to store this data ?
The text was updated successfully, but these errors were encountered: