I'm Newbie to Go, I have List of Tuple in python as you see below:
data = [
(435347,'cat'),
(435347,'feline'),
(435347,'lion'),
(6765756,'dog'),
(6765756,'hound'),
(6765756,'puppy'),
(435347,'kitten'),
(987977,'frog')
]
how can i convert data into GO equivalent, I have googled it but everywhere they have specified with the same data-type of multidimensional array like this,
int_list := [4][2]int{{1, 0}, {2, 0}, {3, 0}, {4, 0}}
string_list := make([][]string, 0)
a := [1][2]string{{"lion","dog"}}
help me out..!
Updated:
for Mixed-type Collections of Array:
array := []interface{}{1, "dog", "lion", 12, 45.09, true, false}