Documentation
¶
Index ¶
Constants ¶
View Source
const ( NamePtrElem = "Ptr" NameKey = "Key" NameElem = "Elem" NameField = "Field" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructField ¶
type ValidateFn ¶
type ValidatorGen ¶
type ValidatorGen struct { gengo.SnippetWriter // contains filtered or unexported fields }
func (*ValidatorGen) GenerateType ¶
func (*ValidatorGen) Init ¶
func (g *ValidatorGen) Init(c *gengo.Context, s gengo.GeneratorCreator) (gengo.Generator, error)
func (*ValidatorGen) Name ¶
func (g *ValidatorGen) Name() string
func (*ValidatorGen) New ¶
func (g *ValidatorGen) New() gengo.Generator
Click to show internal directories.
Click to hide internal directories.