Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 187 Bytes
package main
import "fmt"
func Add(x int, y int) int {
return x + y
func main() {
fmt.Println(Add(0, 0))
fmt.Println(Add(1, 0))
fmt.Println(Add(1, 2))
fmt.Println(Add(-1, 2))
You can’t perform that action at this time.