Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	governor.Service
	Template
}

func New

func New() Service

New creates a new Template service

type Template

type Template interface {
	Execute(templateName string, data interface{}) (string, error)
	ExecuteHTML(filename string, data interface{}) (string, error)
}

Template is a templating service

Source Files