Raymond Versions Save

Handlebars for golang

v2.0.2

6 years ago

Changelog

  • [IMPROVEMENT] Add the #equal helper (#7)
  • [IMPROVEMENT] Add struct tag template variable support (#8)

v2.0.1

7 years ago

Changelog

v2.0.0

8 years ago

Changelog

  • [BUGFIX] Fixes passing of context in helper options #2 - Thanks @GhostRussia
  • [BREAKING] Renames and unexports constants:
    • handlebars.DUMP_TPL
    • lexer.ESCAPED_ESCAPED_OPEN_MUSTACHE
    • lexer.ESCAPED_OPEN_MUSTACHE
    • lexer.OPEN_MUSTACHE
    • lexer.CLOSE_MUSTACHE
    • lexer.CLOSE_STRIP_MUSTACHE
    • lexer.CLOSE_UNESCAPED_STRIP_MUSTACHE
    • lexer.DUMP_TOKEN_POS
    • lexer.DUMP_ALL_TOKENS_VAL

v1.1.0

8 years ago

Changelog

  • Adds ParseFile() function.
  • Adds RegisterPartialFile(), RegisterPartialFiles() and Clone() methods on Template.
  • Helpers can now be struct methods.
  • Permits templates references with lowercase versions of struct fields.
  • Ensures safe concurrent access to helpers and partials.

v1.0.0

8 years ago

Changelog