mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-14 10:43:58 +01:00
28 lines
366 B
Go
28 lines
366 B
Go
package _023
|
|
|
|
import (
|
|
"bufio"
|
|
"io"
|
|
)
|
|
|
|
func DxxPart1(input io.Reader) (int, error) {
|
|
scanner := bufio.NewScanner(input)
|
|
|
|
for scanner.Scan() {
|
|
line := scanner.Text()
|
|
_ = line
|
|
}
|
|
|
|
return 0, nil
|
|
}
|
|
|
|
func DxxPart2(input io.Reader) (int, error) {
|
|
scanner := bufio.NewScanner(input)
|
|
|
|
for scanner.Scan() {
|
|
line := scanner.Text()
|
|
_ = line
|
|
}
|
|
|
|
return 0, nil
|
|
}
|