chore: initial commit

This commit is contained in:
Stevan Freeborn
2025-11-28 07:19:14 -06:00
commit b0bfab942c
6 changed files with 101 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
**/*/EXAMPLE.txt
**/*/INPUT.txt
**/*/PROBLEM.md
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
coverage.*
*.coverprofile
profile.cov
go.work
go.work.sum
.env
tmp/
+21
View File
@@ -0,0 +1,21 @@
# The MIT License (MIT)
Copyright (c) 2025 Stevan Freeborn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+36
View File
@@ -0,0 +1,36 @@
# Advent of Code 2025
This repository contains my solutions for the [Advent of Code 2025](https://adventofcode.com/2025) challenges.
## Languages
I am using Go for this year's challenge again.
## Structure
Each day's solution is contained in a separate package.
### Prerequisite
- [Go](https://go.dev/doc/install)
### Running the Solutions
![TODO]: Update with instructions
## Challenges
| Day | Problem | Solution | Notes |
|-----|-------------------------------------------------|-------------------|-------|
| 01 | [Problem](https://adventofcode.com/2025/day/1) | [Solution](./01/) | |
| 02 | [Problem](https://adventofcode.com/2025/day/2) | [Solution](./02/) | |
| 03 | [Problem](https://adventofcode.com/2025/day/3) | [Solution](./03/) | |
| 04 | [Problem](https://adventofcode.com/2025/day/4) | [Solution](./04/) | |
| 05 | [Problem](https://adventofcode.com/2025/day/5) | [Solution](./05/) | |
| 06 | [Problem](https://adventofcode.com/2025/day/6) | [Solution](./06/) | |
| 07 | [Problem](https://adventofcode.com/2025/day/7) | [Solution](./07/) | |
| 08 | [Problem](https://adventofcode.com/2025/day/8) | [Solution](./08/) | |
| 09 | [Problem](https://adventofcode.com/2025/day/9) | [Solution](./09/) | |
| 10 | [Problem](https://adventofcode.com/2025/day/10) | [Solution](./10/) | |
| 11 | [Problem](https://adventofcode.com/2025/day/11) | [Solution](./11/) | |
| 12 | [Problem](https://adventofcode.com/2025/day/12) | [Solution](./12/) | |
+5
View File
@@ -0,0 +1,5 @@
package main
func SolvePartOne(filePath string) int {
return 0
}
+17
View File
@@ -0,0 +1,17 @@
package main_test
import (
"testing"
solution "github.com/StevanFreeborn/advent-of-code-2025/cmd/01"
)
func TestSolvePartOneWithExampleInput(t *testing.T) {
expected := -1
result := solution.SolvePartOne("EXAMPLE.txt")
if result != expected {
t.Errorf("SolvePartOne() = %d; want %d", result, expected)
}
}
+3
View File
@@ -0,0 +1,3 @@
module github.com/StevanFreeborn/advent-of-code-2025
go 1.25.4