Re: [go-nuts] I don't know about callbacks in Golang

2018-05-07 Thread Jan Mercl
On Sat, May 5, 2018 at 2:52 AM Eduardo Moseis Fuentes wrote: > HI everyone I´m Eduardo from Guatemala and I'm beginer. I'm interesting in all scope golang in fact I was download a little book about it, but I need learn more about callbacks because the book don´t has > enough information on callba

Re: [go-nuts] I don't know about callbacks in Golang

2018-05-05 Thread Justin Israel
Callbacks are not something that is considered a standard aspect to Go programming, in the same sense as you might see them in something like js/Node.js async programming. The fact that you mentioned Web programming explains why you might have been exposed to the concept, when it is describing your

[go-nuts] I don't know about callbacks in Golang

2018-05-05 Thread Sokolov Yura
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 messa

Re: [go-nuts] I don't know about callbacks in Golang

2018-05-05 Thread Justin Israel
Can you explain what problem you actually want to solve by learning about callbacks? Maybe there is a better learning reference to offer you based on your actual goals. Justin On Sat, May 5, 2018, 12:52 PM Eduardo Moseis Fuentes wrote: > HI everyone I´m Eduardo from Guatemala and I'm beginer.

[go-nuts] I don't know about callbacks in Golang

2018-05-04 Thread Eduardo Moseis Fuentes
HI everyone I´m Eduardo from Guatemala and I'm beginer. I'm interesting in all scope golang in fact I was download a little book about it, but I need learn more about callbacks because the book don´t has enough information on callbacks. May somebody tell me where can I find more information?