This commit is contained in:
21
aoc.go
Normal file
21
aoc.go
Normal file
@ -0,0 +1,21 @@
|
||||
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())
|
||||
}
|
Reference in New Issue
Block a user