add docstring to parseInput

This commit is contained in:
onyx-and-iris 2023-12-11 19:43:43 +00:00
parent 8e70c5565f
commit 35e74a90b3

View File

@ -24,6 +24,8 @@ func readlines() []string {
return lines
}
// parseInput stores coordinates of galaxies
// stores empty row and column indexes
func parseInput(lines []string) {
x := 0
runes = make([][]rune, len(lines))