slice

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

This section is empty.

Functions

This section is empty.

Types

type Slice

type Slice struct{}

func (Slice) Describe

func (s Slice) Describe() plugin.Description

func (Slice) GenerateTo

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

type TemplateArgs

type TemplateArgs struct {
	TypeName            string
	SliceName           string
	CapitalizeSliceName string
	IsSortable          bool
	IsComparable        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