plugin

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: 13 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 generates a plugin project

Types

type Options

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

func (opts *Options) Validate() error

Validate makes sure that the options are valid for generator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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