mustache icon indicating copy to clipboard operation
mustache copied to clipboard

Add support for a `name` field tag to allow Exported fields to be used as lowercase template variables

Open erjoalgo opened this issue 10 years ago • 0 comments

My mustache template has lower-case variable names which cannot be changed, so I can not use exported struct fields as arguments to these templates. Add support for a name field tag, like is done in http://golang.org/pkg/encoding/json/

erjoalgo avatar Nov 08 '14 22:11 erjoalgo