📌  相关文章
📜  Golang 中的 For-Range 循环 - Go 编程语言 - Go 编程语言代码示例

📅  最后修改于: 2022-03-11 14:45:02.193000             🧑  作者: Mango

代码示例1
entry := []string{"Jack","John","Jones"}
for i, val := range entry {
  fmt.Printf("At position %d, the character %s is present\n", i, val)
}