You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
$ go run variadic-functions.go
|
|
[1 2] 3
|
|
[1 2 3] 6
|
|
[1 2 3 4] 10
|
|
|
|
# Another key aspect of functions in Go is their ability
|
|
# to form closures, which we'll look at next.
|