Versions in this module Expand all Collapse all v1 v1.3.2 Jul 12, 2021 v1.3.1 Jul 12, 2021 Changes in this version + const NoopTemplate + func Generate(writer io.Writer, data TemplateData, templateContent string) + type Field struct + Fields []Field + Name string + NonArrayType string + Tags map[string]string + Type string + func GetFields(file *ast.File, desiredStruct string) []Field + func (f Field) String() string + type Method struct + Name string + Params []MethodField + Results []MethodField + func GetMethods(file *ast.File, typeName string) []Method + func (f Method) String() string + type MethodField struct + Names []string + Type string + type TemplateData struct + Extras []string + Fields []Field + Methods []Method + OutputFile string + PackageName string + TemplateFile string + TypeName string