Learning About Functions

Learn about functions in Go, including variadic arguments and anonymous functions.

Functions in Go are what we’d expect from a modern programming language. There are only a few things that make Go functions different:

  • Multiple return values are supported

  • Variadic arguments

  • Named return values

Get hands-on with 1400+ tech skills courses.