gtmpl-rust icon indicating copy to clipboard operation
gtmpl-rust copied to clipboard

golang text/template for rust

Results 7 gtmpl-rust issues
Sort by recently updated
recently updated
newest added

I found that this implementation is missing a very important syntax = , Why is this syntax not implemented, is it because of some limitation or simply forgotten?

I wanted to see what the appetite would be for exposing more information about the parsed template publicly would be. My use case is that I want to crawl a...

Happy to write the PR for this, but is there any chance you'd consider allowing adding Closures to the function map. I used this all the time in Go, and...

Golang allows setting the delimiters to use when parsing a template if the template is not using the default delimiters. It would be nice to have the same support here.

help wanted

Perhaps I've missed something but how do I use a struct with an Option in it?

help wanted

Hi, Is it possible/planned to support calling method on "current context". extracted from https://golang.org/pkg/text/template/ : > - The name of a niladic method of the data, preceded by a period,...

These test codes for call func make strange error. Function 'tmpl_test1' can not pass, But function 'tmpl_test2' can pass. The different between them: In tmpl_test1, the function is stored in...