mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-15 03:04:01 +01:00
29 lines
366 B
Go
29 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
|
||
|
}
|