How do I convert strings in an array to integers in an array in go?
["1", "2", "3"]
to
[1, 2, 3]
I've searched for some solutions online but couldn't find it. I've tried to loop through the array and did strconv.ParseFloat(v, 64) where v is the value but it didn't work.