18 lines
318 B
Go
18 lines
318 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"aoc2024/internal/common"
|
|
"aoc2024/internal/day05"
|
|
)
|
|
|
|
func main() {
|
|
fmt.Println("Opening file...")
|
|
bytes := common.Must(os.ReadFile("/home/g3po/Projects/advent_of_code_2024/inputs/05.txt"))
|
|
result1, result2 := day05.Handle(bytes)
|
|
fmt.Println(result1)
|
|
fmt.Println(result2)
|
|
}
|