diff --git a/internal/2025/DayTwelve/code.go b/internal/2025/DayTwelve/code.go new file mode 100644 index 0000000..7539957 --- /dev/null +++ b/internal/2025/DayTwelve/code.go @@ -0,0 +1,17 @@ +package daytwelve + +import ( + "os" + "strings" + + "advent-of-code/internal/registry" +) + +func init() { + registry.Register("2025D12", ParseInput, PartOne, PartTwo) +} + +func ParseInput(filepath string) []string { + content, _ := os.ReadFile(filepath) + return strings.Split(string(content), "\n") +}