3 ms·
That terminal '}()' is there for a reason. https://play.golang.org/p/zyMbmJsnUz https://play.golang.org/p/zyMbmJsnUz // minor mod of donatj's example.
by eternalban 10y ago
That terminal '}()' is there for a reason.
https://play.golang.org/p/zyMbmJsnUz https://play.golang.org/p/zyMbmJsnUz // minor mod of
donatj's example.
- catnaroek 10y agoThis is reminiscent of the common Python hack `lambda n=n: whatever`. Well, it's a hack.