advent-of-code/template/main.go
xuu b97ecdc93c
Some checks failed
Go Bump / bump (push) Failing after 7s
Go Test / build (push) Successful in 33s
chore: change module
2023-12-15 15:14:42 -07:00

31 lines
393 B
Go

package main
import (
"bufio"
_ "embed"
"fmt"
aoc "go.sour.is/advent-of-code"
)
// var log = aoc.Log
func main() { aoc.MustResult(aoc.Runner(run)) }
type result struct {
valuePT1 int
valuePT2 int
}
func (r result) String() string { return fmt.Sprintf("%#v", r) }
func run(scan *bufio.Scanner) (*result, error) {
for scan.Scan() {
_ = scan.Text()
}
return &result{}, nil
}