gobyexample/examples/multiple-return-values/multiple-return-values.sh
2012-10-17 18:41:49 -07:00

8 lines
153 B
Bash

$ go run multiple-return-values.go
3
7
7
# Accepting a variable number of arguments is another nice
# feature of Go functions; we'll look at this next.