go-tour/functions-continued.go
2020-02-04 21:44:36 -06:00

12 lines
118 B
Go

package main
import "fmt"
func add(x, y int) int {
return x + y
}
func main() {
fmt.Println(add(42, 13))
}