soy
soy copied to clipboard
Go implementation for Soy templates (Google Closure templates)
Hi @robfig! Thanks for merging the fixes from [our earlier pull request](https://github.com/robfig/soy/pull/69). They were generated by CodeLingo which we've used to find a further 6 issues in the repo. This...
The [documentation](https://github.com/google/closure-templates/blob/master/documentation/concepts/templates.md#what-does-a-template-look-like ) for Closure Templates has examples of the param syntax: ``` {template .helloName} {@param name: string} Hello {$name}! {/template} ``` This parser does not seem to support that...
When trying to use a template which explicitly specifies `autoescape="strict"` this package fails with: `expected "true", "false", or "contextual" for autoescape, got "strict"` As several of the [closure-templates example](https://github.com/google/closure-templates/tree/master/examples) files...
Fixed #44
This is more an open question to discuss it. Should the library convert to lowercase [common initialisms](https://github.com/golang/lint/blob/2eee63064bb1b42b2ebe26326a01a4b71a563ed9/lint.go#L688) when they are at the start of a field name? Right now it...