Releases: goradd/got
Releases · goradd/got
Fixing {{err tag and predefined tags
Merge pull request #17 from spekary/rewrite Fixing go error tag and root tag
Major Rewrite
This was a major rewrite with the following changes:
- defined fragments end with {{end fragName}} tags, rather than {{end}} tags
- {{else if ...}} is now {{elseif ...}}
- {{join }} tag will join items with a string
- The backup tag {{- has been removed
- Reorganized the lexer and parser to be easier to debug
- Added many more unit tests. Code coverage > 90%.
- The output is sent to an io.Writer called _w. This allows more flexible use of the templates, and the ability to wrap them with middleware
Windows Compatibility
Fixing windows compatibility issues. Adding windows to CI tests.
v0.9.1
Fixing html escaping and including file
Slight change to how {{:h works and added {{:! to escape without creating html newlines to be used with the html pre tag.
Requiring a parameter count for named blocks
If you are going to use parameters in a named block, you now must specify how many parameters you expect.
Fix to error output
Merge pull request #9 from spekary/error_reporting Fixing string output
Rerelease
Fixing output on error
Allowing GOT to proceed even if goimports or gofmt produces errors.
Fixing relative path problem
Merge pull request #7 from spekary/relative_paths Relative paths