Documentation ¶
Overview ¶
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\add.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\addEdit.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\api.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\edit.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\table.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\tableDrawerIndex.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\tableIndex.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\tree.tpl DO NOT EDIT!
Code generated by hero. source: D:\GoProjects\dp_clean_core\template\treeApi.tpl DO NOT EDIT!
Index ¶
- func Add(fields []pkg.FormField, options AddOption, buffer *bytes.Buffer)
- func AddEdit(fields []pkg.FormField, options AddEditOption, buffer *bytes.Buffer)
- func Api(apiName string, apiPath string, vueName string, buffer *bytes.Buffer)
- func Edit(fields []pkg.FormField, options EditOption, buffer *bytes.Buffer)
- func Table(fields []pkg.FormField, firstTwo []pkg.FormField, rest []pkg.FormField, ...)
- func TableDrawerIndex(fields []pkg.FormField, firstTwo []pkg.FormField, rest []pkg.FormField, ...)
- func TableIndex(fields []pkg.FormField, firstTwo []pkg.FormField, rest []pkg.FormField, ...)
- func Tree(fields []pkg.FormField, options TreeOption, buffer *bytes.Buffer)
- func TreeApi(apiName string, apiPath string, vueName string, buffer *bytes.Buffer)
- type AddEditOption
- type AddOption
- type EditOption
- type TableDrawerIndexOption
- type TableIndexOption
- type TableOption
- type TreeOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TableDrawerIndex ¶
func TableIndex ¶
Types ¶
type AddEditOption ¶
type EditOption ¶
type TableDrawerIndexOption ¶
type TableIndexOption ¶
type TableOption ¶
type TableOption struct { RowNum int SearchSize int HideSearch bool ModalWidth string ApiName string Upload bool UploadThumb bool DaterangeSearch bool Password bool VueName string Api bool DefaultSort string DefaultSortType string LabelPosition string TotalRow int Span string FileUpload bool Editor bool Dict bool SearchDict bool CustomList bool SearchCustomList bool }
type TreeOption ¶
type TreeOption struct { RowNum int TotalRow int EnableTable bool TreeSpan string TreeEditSpan string LabelPosition string Span string IsDrawer bool ModalWidth string TotalRowTree int Api bool ApiName string FileUpload bool Upload bool UploadThumb bool Editor bool Password bool Dict bool CustomList bool VueName string }