aoc2024/day-21/internal/pad/node.go

15 lines
182 B
Go
Raw Normal View History

2024-12-25 14:45:38 +00:00
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}
}