How to use for in Golang

for i, c := range data {
    // your code 
}

#golang