We have hosted the application hero in order to run this application in our online workstations with Wine or directly.


Quick description about hero:

Hero is a handy, fast and powerful go template engine, which pre-compiles the HTML templtes to go code. It has been used in a production environment in bthub.io. The function definition statement defines the function which represents a html file. The function defined should return one and only one parameter []byte. Extend statement states the parent template the current template extends. Include statement includes a sub-template to the current template. It works like #include in C++. Import statement imports the packages used in the defined function, and it also contains everything that is outside of the defined function. Block statement represents a block. Child template overwrites blocks to extend parent template.

Features:
  • Easy to use
  • Powerful. template Extend and Include supported
  • High performance
  • Auto compiling when files change
  • Hero is the fastest and least-memory used among currently known template engines in the benchmark
  • Extend statement states the parent template the current template extends


Programming Language: Go.
Categories:
Admin Templates

Page navigation:

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.