字段和属性

结构体(记录)

type colorPoint struct {
    //字段
    x, y int

    //Golang 中没有属性
    Color Brush
}