Add Go
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-03 21:50:29 +01:00
parent d8d3821113
commit f228b7b494
9 changed files with 299 additions and 3 deletions

21
aoc.go Normal file
View 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())
}