📅  最后修改于: 2022-03-11 14:45:01.482000             🧑  作者: Mango
var x [2]string // An array of 2 strings
x[1] = "German"
var y [2]string{"English", "Japanese"}
import "fmt"
for i := 0; i < len(y); i++ {
fmt.Println(y[i])
}