Day 12 solution.
This commit is contained in:
parent
ded23b8e78
commit
2804abb674
2 changed files with 150 additions and 1 deletions
|
@ -57,7 +57,8 @@ func InputParserStrings(filename string) []string {
|
|||
if err != nil {
|
||||
log.Panicf(err.Error())
|
||||
}
|
||||
return strings.Split(string(data), "\n")
|
||||
output := strings.Split(string(data), "\n")
|
||||
return output[:len(output)-1]
|
||||
}
|
||||
|
||||
func InputParserBytes(filename string) [][]byte {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue