buffalo: github.com/gobuffalo/buffalo/genny/mail Index | Files

package mail

import "github.com/gobuffalo/buffalo/genny/mail"

You can use the "packr clean" command to clean up this, and any other packr generated files.


Package Files

mail-packr.go mail.go options.go

func New Uses

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

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

type Options Uses

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 Uses

func (opts *Options) Validate() error

Validate options are useful

Package mail imports 8 packages (graph) and is imported by 3 packages. Updated 2019-07-28. Refresh now. Tools for package owners.