[go-nuts] Re: For loop in go templating

2017-12-12 Thread Josh Cox
func to iterate over an int : Playground > <https://play.golang.org/p/FAp_lHY88B> > > This is similar to the sprig "until" func > <https://godoc.org/github.com/Masterminds/sprig>. > > On Tuesday, December 12, 2017 at 5:43:06 AM UTC+1, Josh Cox wrote: >&

[go-nuts] For loop in go templating

2017-12-11 Thread Josh Cox
Why is there not a 'for' action in go templating ? I seem to get punted for asking such blasphemy! my stackoverflow question and my [github issue](https://github.com/golang/go/issue