Resolving all Advent of Code challenges in GO.
Make sure you have Go >= 1.21.4.
git clone git@github.com:teodorpopa/advent-of-code-go.git
To test the solutions for a specific year/day, you need to run the following command:
make test year=2023 day=01
To run a solution, you need to provide some arguments.
- the
--year
flag must be set to specify the year of the challenge - the
--day
flag must be set to specify which day's solution should run - the
--part
flag specifies if you only want to run a specific part. by default both parts will run
make command:
make run year=2023 day=13
go command:
go run main.go --year=2023 --day=13