Hacker News new | ask | show | jobs
by NateDad 4434 days ago
Sorta impossible. You can't suck values out of the current context, even with reflection. You always would need to pass values into a function, in which case you might as well use fmt.
1 comments

I suspected that might have been the case but I haven't played around with reflection enough personally.

Shame :(