aoc2024/.scaffold/aoc/{{ .Project }}/internal/one/util.go

19 lines
205 B
Go
Raw Normal View History

package one
import (
"bufio"
"io"
)
func parseLines(r io.Reader) error {
scanner := bufio.NewScanner(r)
for scanner.Scan() {
}
if err := scanner.Err(); err != nil {
return err
}
return nil
}