Skip to content

Commit

Permalink
chore: document ExtractIntRows function
Browse files Browse the repository at this point in the history
  • Loading branch information
agrmohit committed Dec 2, 2024
1 parent de98ef4 commit 62da878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/inputs/inputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ func ExtractIntPairs(input string) ([]int, []int, error) {
return left, right, nil
}

// ExtractIntRows takes multiple lines of whitespace separated numbers and
// parses it into a 2d int slice
func ExtractIntRows(input string) ([][]int, error) {
var result [][]int

Expand Down

0 comments on commit 62da878

Please sign in to comment.