Search Results
Searching for: Anonymous Functions in Go
Function Literal
Language: Go
A function literal is a function declared inline without a name. In all other languages, this is called an anonymous function.
Closures
Language: Go
Closures are functions which enclose other functions, often with a function return type. The inner functions are able to reference the variables around the closure function.