Documenting my Advent of Code solutions while learning golang.
This project uses the spf13/cobra CLI package to help facilitate running of individual day solutions.
Check out the help menu for all currently implemented solutions and other commands after cloning the repository:
$ go run main.go --help
Note this requires golang version 1.17 installed. I use asdf
to manage go versions.
For example, to run the solution for day 1, part 2 with input day1_input.txt in the test/
dir, run the below command.
$ go run main.go day1part2 -F test/day1_input.txt
$ # 1158