Please help me, how to check same value from query and just catch first value in golang or python
{ "data":[ "1234567001", "1234567001", "1234567001", "1234567001", "4567898001", "4567898001", "4567898001" ] }
how to get 2 different values from the data, using go lang
vals := []interface{}{}
for _, row := range result {
nobil := row.Nobilling
vals = append(vals, nobil)
if nobil == row.billing {
continue
}
i++
}
I just want to store different values from the array