Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratedFileNameArr ¶
func GeneratedFileNameArr(packageObj *semantic.PackageObj) []string
Types ¶
type PresetTemplateObj ¶
type TemplateDataObj ¶
type TemplateDataObj struct {
PackageName string
RootObj *semantic.BranchObj
FieldObjArr []*semantic.FieldObj
EnumObjArr []*schema.EnumObj
HasYAML bool
HasJSON bool
HasHJSON bool
HasCLI bool
HasValidate bool
HasRender bool
HasPresets bool
HasInterfaces bool
HasSize bool
HasDuration bool
HasMapAny bool
HasTextSlice bool
PrimaryFormatTitle string
TypeImportTextArr []string
AccessorImportTextArr []string
FieldMetaImportTextArr []string
RuntimeImportTextArr []string
FlagImportTextArr []string
ValidateImportTextArr []string
PresetObjArr []PresetTemplateObj
PresetDataArr []byte
}
Click to show internal directories.
Click to hide internal directories.