mirror of
https://github.com/onyx-and-iris/aoc2024.git
synced 2025-01-10 06:40:47 +00:00
28 lines
569 B
Go
28 lines
569 B
Go
|
/********************************************************************************
|
||
|
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)
|
||
|
}
|