[go-nuts] Re: html/template function not defined

2016-08-01 Thread Matt Silverlock
Where is the code for parsing your templates and apply the FuncMap? On Saturday, July 30, 2016 at 7:05:39 AM UTC-7, alex.b...@leadinglocally.com wrote: > > > Since, I have made 2 more float-to-int functions and they work fine. > > To solve this I'm having to pre-marshal my json before I execute

[go-nuts] Re: html/template function not defined

2016-07-30 Thread alex . breadman
Since, I have made 2 more float-to-int functions and they work fine. To solve this I'm having to pre-marshal my json before I execute the template. Please if anyone knows why it doesn't like JSON encoding functions in the templates, let me know On Saturday, July 30, 2016 at 4:32:12 AM