here is time.AfterFunc() prototype:
func AfterFunc(d Duration <http://golang.org/pkg/time/#Duration>, f
func()) *Timer <http://golang.org/pkg/time/#Timer>
the problem is, AfterFunc doesn't like settimer() of other language, the
callback function f() doesn't has any argumnet.
when I user AfterFunc create a timer, and the timer arrives, the f() is
called. If I want do something related to my data in function f(), how can
i get it?
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 email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.