My solutions to the Advent of Code challenges, written in Go.
The solutions are stored in their own directory with naming format calendar/$YEAR/$DAY
.
Each directory contains the following files:
input.txt
- puzzle inputmain.go
- puzzle solutions (go source code)README.md
- puzzle instructionsMakefile
- common operations such as building and running the puzzle solutions
By referencing the root Makefile, you can execute the following commands:
To generate the folder structure for today:
make generate
To generate the folder structure for a specific date:
make generate YEAR=2024 DAY=1
To lint the Go source code:
make lint