package
0.0.0-20201209052311-c4bc27c9dd62
Repository: https://github.com/benjetson/aoc-2020.git
Documentation: pkg.go.dev
# Functions
CheckMainPuzzleSolution can be used to test that a main program generates the correct puzzle output.
MergeGapsBetweenLines takes a slice of lines (bricks) and shall merge lines together with the mortar, breaking upon a blank line.
ReadIntegersFromFile reads a file and attempts to parse each line as an integer, returning the resultant slice of integers.
ReadLinesFromFile reads the entire file specified, and returns a slice of strings.
SliceStringsToInts takes a slice of strings and attempts to convert to a slice of integers.