Glossary: Data Structures and Algorithms in Go
Function literal
Also written: anonymous function, function literals
A function with no name, written inline where it is needed, such as `func(a, b Order) int { ... }` passed to a sort.
Glossary: Data Structures and Algorithms in Go
Also written: anonymous function, function literals
A function with no name, written inline where it is needed, such as `func(a, b Order) int { ... }` passed to a sort.