I'm trying my best to make the following Go template FuncMap example works:

https://play.golang.org/p/1-JYseLBUF

If I comment out line 55, 56 and un-comment line 54, it works just fine. 

What I was trying to do is to un-comment line 31, and use DefaultFuncs() or 
something alike to replace line 54. I.e., I'm trying to wrap the myFuncMap 
into a callable function. 

How can I do that? Thx

-- 
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.

Reply via email to