package main import "fmt" func main() { data := [...]string{"Ned", "Edd", "Jon", "Jeor", "Jorah"} for index, value := range data { fmt.Printf("Character %d of GoT is = %s ", index, value) } }