templatesmanager

package
v0.0.0-...-d6d061b Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager() *manager

NewManager creates and returns a new manager.

Types

type ActivationEmailTemplateData

type ActivationEmailTemplateData struct {
	RecipientEmail string
	ActivationURL  string
}

ActivationEmailTemplateData represents data for User activation email templates.

type Manager

type Manager interface {
	Load(name string) (*texttemplate.Template, *htmltemplate.Template, error)
}

Manager manages and loads template files.

Jump to

Keyboard shortcuts

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