Re: [go-nuts] first try with templates

2017-02-24 Thread 'simon place' via golang-nuts
thanks, but the handed-in data, on each execute, doesn't seem like a good fit for a global var, and there will always be the actual one-off 'context' data i will need to push in, so its not available. so if you really can't do this option1: i could use a function, but that seemed like

Re: [go-nuts] first try with templates

2017-02-24 Thread Ian Davis
On Fri, 24 Feb 2017, at 11:40 PM, 'simon place' via golang-nuts wrote: > https://play.golang.org/p/NGU4kstcT- > > just trying to put one var into one template and i'm failing!, see > above, i've tried the docs, googling and randomly guessing. please > someone put me out of my misery. Hopefu

[go-nuts] first try with templates

2017-02-24 Thread 'simon place' via golang-nuts
https://play.golang.org/p/NGU4kstcT- just trying to put one var into one template and i'm failing!, see above, i've tried the docs, googling and randomly guessing. please someone put me out of my misery. -- You received this message because you are subscribed to the Google Groups "golang-nuts