You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
aoc2020/day03/parse.go

14 lines
240 B

package day03
import (
"git.elis.nu/etu/aoc2020/utils"
)
var rows [][]byte
func ParseFile(input string) {
// Parse file
for _, line := range utils.GetLinesFromFile("day03/" + input + ".txt") {
rows = append(rows, []byte(line))
}
}