I'm a newbie, I have a Tuple list 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 the data to the GO equivalent, I googled, but everywhere they pointed with the same type of data array type 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!..
Updated:
for arrays of mixed type:
array := []interface{}{1, "dog", "lion", 12, 45.09, true, false}