Documentation ¶
Index ¶
- type FastTemplates
- func (f *FastTemplates) Get(key string) (t *fasttemplate.Template)
- func (f *FastTemplates) GetBy(content, startTag, endTag string) *fasttemplate.Template
- func (f *FastTemplates) GetOrSetBy(content, startTag, endTag string) *fasttemplate.Template
- func (f *FastTemplates) Set(key string, t *fasttemplate.Template)
- func (f *FastTemplates) SetBy(content, startTag, endTag string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FastTemplates ¶
type FastTemplates struct {
// contains filtered or unexported fields
}
func New ¶
func New() *FastTemplates
func (*FastTemplates) Get ¶
func (f *FastTemplates) Get(key string) (t *fasttemplate.Template)
func (*FastTemplates) GetBy ¶
func (f *FastTemplates) GetBy(content, startTag, endTag string) *fasttemplate.Template
func (*FastTemplates) GetOrSetBy ¶
func (f *FastTemplates) GetOrSetBy(content, startTag, endTag string) *fasttemplate.Template
func (*FastTemplates) Set ¶
func (f *FastTemplates) Set(key string, t *fasttemplate.Template)
func (*FastTemplates) SetBy ¶
func (f *FastTemplates) SetBy(content, startTag, endTag string)
Click to show internal directories.
Click to hide internal directories.