My Go solutions to Advent of Code 2025, with a small runner that picks the day, part, and input file from flags. Days 1 to 5 are solved, and day 6 is in progress.
Technologies
GoMakefileAlgorithmsCLI
Terminal Preview
advent-of-code-2025
$ ls internal/days
day01 day02 day03 day04 day05
day06 day07 day08 day09 day10
day11 day12
$ make run DAY=5 PART=2
Overview
Overview
Solutions to Advent of Code 2025 in Go. The 2025 event has 12 puzzles; I've solved both parts of days 1 to 5, and day 6 is in progress.
One runner (cmd/aoc) maps each day to its two solve functions, so make run DAY=3 PART=2 or go run ./cmd/aoc -day=3 -part=2 runs a single puzzle, -input switches to the example input, and -all runs every day that's done.
Shared helpers for reading lines, parsing integers, and working with grids live in internal/utils, so each day's file holds just the puzzle logic.
Features
Features
Layout
- One package per day under internal/days, with its input and puzzle text
- A flags-based runner in cmd/aoc
- Shared parsing and grid helpers in internal/utils
- Makefile targets to run one day or all of them