Documentation ¶
Overview ¶
byte_templating is intended to offer a simple templating engine for byte slices it's different from other implementations in two ways 1. you can define the "item" selector on your own, that is you don't have to supply a interface{} object, similar to https://github.com/valyala/fasttemplate 2. in addition to fasttemplate you can also define custom directives like "toLower", "URLEncode" etc. This library doesn't push any gc pressure to the user This library is not thread safe, use it with a sync.Pool
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectiveDefinition ¶
Click to show internal directories.
Click to hide internal directories.