I want to store some values in hashmap without index name. I mean derived from the array and hashmap.
Example :
{"name":"attn",1,5,6,7,8}
Output of variable (just for demonstration):
( "name" : "attn", 0:1, 1:5, 2:6, 3:7, 4:8, )
Or another example:
{ 0:"start","name":"mattn","age":39,"child":[1,2,3,4,5,9:1] }
How can do this in Go?
Maybe I need new data type? :)
Please, help me! Thank you!