26 lines
383 B
Go
26 lines
383 B
Go
package main
|
|
|
|
import (
|
|
"bufio"
|
|
"fmt"
|
|
|
|
aoc "go.sour.is/advent-of-code-2023"
|
|
)
|
|
|
|
func main() { aoc.MustResult(aoc.Runner(run)) }
|
|
|
|
type result struct {
|
|
valuePT1 uint64
|
|
valuePT2 uint64
|
|
}
|
|
|
|
func (r result) String() string { return fmt.Sprintf("%#v", r) }
|
|
|
|
func run(scan *bufio.Scanner) (*result, error) {
|
|
for scan.Scan() {
|
|
text := scan.Text()
|
|
_ = text
|
|
}
|
|
return &result{}, nil
|
|
}
|