package two type coords struct { x int y int } func newCoords(x, y int) coords { return coords{x, y} } type antenna struct { coords identifier rune } func newAntenna(x, y int, identifier rune) antenna { coords := newCoords(x, y) return antenna{coords: coords, identifier: identifier} }