Skip to content

Commit d1098ed

Browse files
committed
✨ (sum_all): add sum_all function
1 parent 0d7f3a3 commit d1098ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arrays-and-slices/sum.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ func Sum(numbers []int) int {
77
}
88
return sum
99
}
10+
11+
func SumAll(numbersToSum ...[]int) []int {
12+
return nil
13+
}

0 commit comments

Comments
 (0)