templates

package module
v0.0.0-...-ea3c94a Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTemplate

func CreateTemplate(path string, data string) error

CreateTemplate will creat a template file that contains data

func HTMLDifferences

func HTMLDifferences() error

HTMLDifferences highlights some of the differences between html/template and text/template

func InitTemplates

func InitTemplates() error

InitTemplates sets up templates from a directory

func RunTemplate

func RunTemplate() error

RunTemplate initializes a template and demonstrates a variety of template helper functions

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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