# README
Acuity Go Advent of Code
How to Run
Run the following make command:
make run ${DAY}
where${DAY}
is just the day number. i.e. 1, 2, 3, 4, 10, 12, etc- Example
make run 3
will run day 3 of advent
- Example
Create a new day
Run the following command to create a new day solver:
make new-day ${DAY}
where${DAY}
is just the day number. i.e. 1, 2, 3, 4, 10, 12, etc- Example:
make new-day 3
will generateday03
under./solutions
- Example:
- Update
./solutions/day_factory/day_factory.go
to include the new day solver you created. - Start solving!
Structure
- cmd
- Cobra command line creation
- You shouldn't need to modify this file
- input
- Your advent of code input
- Follows dayXX.txt naming format. i.e.
day01.txt
,day02.txt
,day12.txt
, etc
- internal
- Business logic for parser and running your day solutions
- You shouldn't need to modify this code
- solutions
- This is where you will implement the day's solutions
- Must implement Part1() and Part2() functions
day_factory
- Add additional days solvers here
- util
- Helper functions that may potentially help with parsing
- Add more functions here to be used across your solutions