package pad type coords struct { x, y int } type node struct { coords value rune } func newNode(x, y int, value rune) node { return node{coords: coords{x, y}, value: value} }