package main import "fmt" func main() { Max := func(nums ...int) int { max := -1 << 63 for _, i := range nums { if max < i { max = i } } return max } fmt.Println(Max(3, 2, 1)) }