📅  最后修改于: 2022-03-11 14:45:02.573000             🧑  作者: Mango
package main
import "fmt"
func add(int x, int y) int {
return x + y
}
func main() {
fmt.Println(add(42, 13))
}
Notice that the type comes after the variable name