有一个类type MyPoint struct { X, Y float64 }以下2种声明方式:var Path []MyPoint //定义变量 type Path2 []MyPoint //定义别名