This code starts printing the data from the 0 index but I want it to seem as if the index starts at 1.
Given Result
0 Foo
1 Bar
Required Result
1 Foo
2 Bar
Code
package main
import "fmt"
func main() {
a := []string{"Foo", "Bar"}
for i, s := range a {
fmt.Println(i, s)
}
}