mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-15 15:10:49 +00:00
add docstring to parseInput
This commit is contained in:
parent
8e70c5565f
commit
35e74a90b3
@ -24,6 +24,8 @@ func readlines() []string {
|
|||||||
return lines
|
return lines
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// parseInput stores coordinates of galaxies
|
||||||
|
// stores empty row and column indexes
|
||||||
func parseInput(lines []string) {
|
func parseInput(lines []string) {
|
||||||
x := 0
|
x := 0
|
||||||
runes = make([][]rune, len(lines))
|
runes = make([][]rune, len(lines))
|
||||||
|
Loading…
Reference in New Issue
Block a user