This commit is contained in:
2022-12-06 10:47:59 +01:00
parent bbaafe0164
commit bae437ae3a
3 changed files with 65 additions and 0 deletions

13
day06/common/signal.go Normal file
View File

@@ -0,0 +1,13 @@
package common
import (
"bufio"
)
type Signal string
func Parse(scanner bufio.Scanner) Signal {
scanner.Scan()
return Signal(scanner.Text())
}