gobyexample/examples/multiple-return-values/multiple-return-values.sh
2012-10-17 17:03:32 -07:00

8 lines
145 B
Bash

$ go run multiple-return-values.go
3
7
7
# Another key aspect of functions in Go is their ability
# to form closures, which we'll look at next.