Go Concepts - Functions
Jump to navigation
Jump to search
Internal
Overview
Syntax
func <name>(<parameter1>, <parameter2>,...) (<return-type1>, <return-type2>, ...) { statement1 statemen2 ... return <return-value1>, <return-value2> }
Built-in Functions
Closures
Anonymous function that capture local variables.
More about closures is available here.