set

package
v0.0.0-...-aea69b8 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UnstableOrder = plugin.Value("Unstable")
	AppendOrder   = plugin.Value("Append")
	KeyOrder      = plugin.Value("Key")
)

Functions

This section is empty.

Types

type Set

type Set struct{}

func (Set) Describe

func (set Set) Describe() plugin.Description

func (Set) GenerateTo

func (set Set) GenerateTo(w io.Writer, env plugin.Env, typeInfo plugin.TypeInfo, opt plugin.Options) (plugin.Prerequisites, error)

type TemplateArgs

type TemplateArgs struct {
	TypeName          string
	SetName           string
	CapitalizeSetName string
	Order             string
	IsSortable        bool
	New               string
}

func (TemplateArgs) GenerateTo

func (ta TemplateArgs) GenerateTo(w io.Writer) error

Jump to

Keyboard shortcuts

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