Working through problems for Advent of Code 2023.
Using Go
- Install Go from here.
- Run the following script to install dependencies.
go mod tidy
Run the following command to test a given day's problem.
go test ./puzzles/day00Run the following to run the given puzzle input for the day.
go run ./puzzles/day00/main.goTo create a template of files needed for a new day's puzzle, run the following command.
./scripts/create-day 01This will create a new folder named day01 pre-created with files for the main code, test code, and input files.