adventofcode/aoc.go
Tristan f228b7b494
All checks were successful
continuous-integration/drone/push Build is passing
Add Go
2023-12-03 21:50:29 +01:00

22 lines
351 B
Go

package main
import (
y22 "adventofcode/data/Y22"
"adventofcode/src-go/helpers"
"fmt"
"github.com/fatih/color"
)
func main() {
runY22()
day, year := helpers.GetDayYear()
fmt.Println(day, year)
}
func runY22() {
color.HiYellow("\n--- Advent of Code 2022 ---\n\n")
helpers.PrintDayResults(y22.Day1())
helpers.PrintDayResults(y22.Day2())
}