mailgen

package
v2.0.0-alpha.15 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: MIT Imports: 6 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 {
	Args     []string `json:"args"`
	Name     string   `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