util

package
v1.2.1-0...-2a741af Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuffixGetter         = "Getter"
	SuffixSetter         = "Setter"
	SuffixErrorGetter    = "Err" + SuffixGetter
	SuffixErrorSetter    = "Err" + SuffixSetter
	SuffixSliceGetter    = "Slice" + SuffixGetter
	SuffixSliceSetter    = "Slice" + SuffixSetter
	SuffixSliceErrGetter = "Slice" + SuffixErrorGetter
	SuffixSliceErrSetter = "Slice" + SuffixErrorSetter
)

Variables

This section is empty.

Functions

func Execute

func Execute(def TypeDef, tpl *template.Template)

Types

type Mapper

type Mapper = func(TypeDef) TypeDef

type TypeDef

type TypeDef struct {
	Time string
	Name string
	Type string
}

func ParseInput

func ParseInput(nMap Mapper) TypeDef

Jump to

Keyboard shortcuts

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