go-by-test/integers/adder.go

7 lines
113 B
Go

package integers
// Add takes two integers and returns the sum of them
func Add(x, y int) int {
return x + y
}