package
0.0.0-20241227183740-082096063782
Repository: https://github.com/mbordner/aoc2024.git
Documentation: pkg.go.dev

# Functions

NewUpdate builds an update with pages, and collects dependency information based on rules and other pages in its list.

# Structs

Update represents a page number list, can be valid, fixed so that it is valid, can get page list, and middle page.

# Type aliases

Dependencies implements sort.Interface for sort.Sort(sort.Interface) first index is the page #, and all following values are page #s this page should be before it also represents the current page number list, as it is a list of page numbers with their dependent page numbers.
Rules is a simple type to collect all pages that should follow a given page.