Back to

Package template

Latest Go to latest

The highest tagged major version is .

Published: Mar 23, 2020 | License: MPL-2.0 | Module:


type Service

type Service interface {

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier