Glossary: Go Beyond the Basics
function literal
Also written: anonymous function
A function written without a name, right where it is needed, such as `func(cents int) int { return cents / 2 }`.
Glossary: Go Beyond the Basics
Also written: anonymous function
A function written without a name, right where it is needed, such as `func(cents int) int { return cents / 2 }`.