things to know about anonymous functions in golang