advent-of-code/template/main.go

31 lines
393 B
Go
Raw Normal View History

2023-12-12 13:44:28 -07:00
package main
import (
"bufio"
_ "embed"
"fmt"
2023-12-15 15:13:24 -07:00
aoc "go.sour.is/advent-of-code"
2023-12-12 13:44:28 -07:00
)
// 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
}