package point type P struct { X float64 Y float64 } func New(x, y float64) P { p := P{ x, y } return p }