template

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schema

type Schema struct {
	Template SchemaBody `json:"Template"`
}

type SchemaBody

type SchemaBody struct {
	HtmlPart     *string `json:"HtmlPart"`
	SubjectPart  *string `json:"SubjectPart"`
	TemplateName string  `json:"TemplateName"`
	TextPart     *string `json:"TextPart"`
}

func FindDir added in v1.3.0

func FindDir(dir string) ([]*SchemaBody, error)

func FindDirWithoutWarn added in v1.3.0

func FindDirWithoutWarn(dir string) ([]*SchemaBody, error)

func FindWithName

func FindWithName(body []*SchemaBody, templateName string) *SchemaBody

Jump to

Keyboard shortcuts

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