2015-02-24 17:46:59 -08:00

7 lines
153 B
Bash

$ go run functions.go
1+2 = 3
1+2+3 = 6
# There are several other features to Go functions. One is
# multiple return values, which we'll look at next.