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