Documentation
¶
Index ¶
- func StringToHtml(data string) httpTemplate.HTML
- type FuncMap
- type Template
- func (t *Template) Clone() (*Template, error)
- func (t *Template) Execute(wr io.Writer, data any) error
- func (t *Template) Funcs(funcMap FuncMap) *Template
- func (t *Template) New(name string) *Template
- func (t *Template) Option(opt ...string) *Template
- func (t *Template) Parse(text string) (*Template, error)
- func (t *Template) ParseFS(fsys fs.FS, patterns ...string) (*Template, error)
- func (t *Template) ParseFiles(filenames ...string) (*Template, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToHtml ¶
func StringToHtml(data string) httpTemplate.HTML
Types ¶
Click to show internal directories.
Click to hide internal directories.