fasttemplates

package
v0.2.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL