iterate over range of values of an array code example
Example: loop list golang
a := []string{"Foo", "Bar"}
for i, s := range a {
fmt.Println(i, s)
}
a := []string{"Foo", "Bar"}
for i, s := range a {
fmt.Println(i, s)
}