aoc2024/day-01/main.go

28 lines
569 B
Go
Raw Normal View History

2024-12-01 17:50:02 +00:00
/********************************************************************************
Advent of Code 2024 - day-01
********************************************************************************/
package main
import (
"fmt"
"log"
"github.com/onyx-and-iris/aoc2024/day-01/internal/one"
"github.com/onyx-and-iris/aoc2024/day-01/internal/two"
)
func main() {
val, err := one.Solve()
if err != nil {
log.Fatal(err)
}
fmt.Printf("solution one: %d\n", val)
val, err = two.Solve()
if err != nil {
log.Fatal(err)
}
fmt.Printf("solution two: %d\n", val)
}