Callbacks are rarely used in Go's ecosystem. Most of time you will use 
callbacks only in your own libraries (if you put them in).
Unnamed functions are as simole as `callIt(func (arg Type, arg2 Type2) (res1 
Type, res2 Type) { res1, res2 = body(); return res1, res2}) `

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to