mail

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *Options) (*genny.Group, error)

New mailer generator. It will init the mailers directory if it doesn't already exist

Types

type Options

type Options struct {
	App      meta.App   `json:"app"`
	Name     name.Ident `json:"name"`
	SkipInit bool       `json:"skip_init"`
}

Options needed to create a new mailer

func (*Options) Validate

func (opts *Options) Validate() error

Validate options are useful

Jump to

Keyboard shortcuts

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