//
pkg.gl
Category
github.com/devries/advent_of_code_2022
utils
package
0.0.0-20230501142507-d15da94e29c9
Repository:
https://github.com/devries/advent_of_code_2022.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
51
Files
120 SLOC
#
Functions
Check
Check if error is not nil and panic with message if it is.
CountBits
Kernighan's Bit Counting Algorithm.
Gcd
Greatest Common Denominator.
Lcm
Least Common Multiple.
OCRLetters
Convert Advent of Code height 6 font letters to a string.
ReadLines
Read all lines from reader.
#
Variables
Directions
Slice of cardinal directions.
East
+X direction.
North
+Y direction.
South
-Y direction.
Verbose
Verbose flag.
West
-X direction.
#
Structs
Point
2-D Point.