tmpl

package
v0.0.0-...-5ef1503 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileTemplate

func CompileTemplate(templateText string, data map[string][]string) (string, error)

Compile the given template text with data into complete text output.

func ExtractMetaTagsFromURL

func ExtractMetaTagsFromURL(url string) (string, map[string][]string, error)

Extracts template path and map of data from meta tags from given web url.

func LoadTemplate

func LoadTemplate(templatePath string) (string, error)

Loads template text from built in templates file or from URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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