🌈 搜索
📅  最后修改于: 2022-03-11 14:58:57.197000             🧑  作者: Mango
a := []string{"Foo", "Bar"} for i, s := range a { fmt.Println(i, s) } 0 Foo 1 Bar