On Fri, Oct 14, 2016 at 4:19 PM Kiki Sugiaman <ksugia...@gmail.com> wrote:
> Maybe there's something I don't understand about defer. "inside dummyfunc" showing first is correct. The reason is """" Each time a "defer" statement executes, the function value and parameters to the call are evaluated as usual and saved anew but the actual function is not invoked """"[0] [0]: https://golang.org/ref/spec#Defer_statements -- -j -- 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.