go-by-test/integers/adder.go

7 lines
113 B
Go
Raw Normal View History

2024-09-10 11:04:47 +00:00
package integers
2024-09-10 11:10:08 +00:00
// Add takes two integers and returns the sum of them
2024-09-10 11:04:47 +00:00
func Add(x, y int) int {
return x + y
}