buffalo: github.com/gobuffalo/buffalo/genny/plugin Index | Files | Directories

package plugin

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

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

Index

Package Files

options.go plugin-packr.go plugin.go

func New Uses

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

New generates a plugin project

type Options Uses

type Options struct {
    PluginPkg string
    Year      int
    Author    string
    ShortName string
    License   string
    Root      string
}

Options container for passing needed info for generating a plugin project.

func (*Options) Validate Uses

func (opts *Options) Validate() error

Validate makes sure that the options are valid for generator

Directories

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

Package plugin imports 14 packages (graph) and is imported by 4 packages. Updated 2019-06-15. Refresh now. Tools for package owners.