package one import ( "bufio" "bytes" "io" ) func Solve(buf []byte) (int, error) { r := bytes.NewReader(buf) err := parseLines(r) if err != nil { return 0, err } return 0, nil } func parseLines(r io.Reader) error { scanner := bufio.NewScanner(r) for scanner.Scan() { } if err := scanner.Err(); err != nil { return err } return nil }