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