package two type point struct { x, y int direction direction } func newPoint(x, y int) point { return point{x: x, y: y} }