mustache icon indicating copy to clipboard operation
mustache copied to clipboard

The mustache template language in Go

Results 34 mustache issues
Sort by recently updated
recently updated
newest added

This is a breaking change as it changes the API to follow the idiomatic Go convention of returning errors. I don't expect it to be merged since the project does...

Hi! This change makes functions return errors instead of returning them in the output. It is best practice and I really wouldn't want to send "line 1: interleaved closing tag:...

Mustache uses `{{.}}` to access the top of the context stack. This is important primarily for arrays or slices of strings.

Here is my fork: https://github.com/Wuvist/mustache What I have done so far: - **Fix indent** - Add dot notation support - Ignore empty strings on list iteration (Merge from @christianchristensen 's...

This would mean that a literal template and a layout file (or vice versa) could be mixed in the same call. What do you think? If I implemented this would...

Used https://github.com/mustache/spec generate more tests, then made the tests pass.

Hello, I'm interested in using mustache.go, but I'm curious about it's performance against the library made by creators of Go. Are there any benchmarks or have you tested it already?

This is bizarre because it must be intentional... which did you change Render and RenderFile to only return a string? This goes against normal Go convention, which is when an...

{{{String}}} works but {{{ String }}} returns empty