Versions in this module Expand all Collapse all v0 v0.0.0 Jan 29, 2021 Changes in this version + func DBConnection() *sql.DB + func GetModelAlias(modelName string) string + func Tables() map[string][]string + func WriteFormModel(grids []models.VBSchema) + func WriteGridDataCaller(forms []models.VBSchema, moduleName string) + func WriteGridModel(grids []models.VBSchema) + func WriteModelCaller(forms []models.VBSchema, moduleName string) + func WriteModelValidation(vb SCHEMA, ID uint64) + func WriteValidationCaller(forms []models.VBSchema, moduleName string) + func WriteValidationMessageCaller(forms []models.VBSchema, moduleName string) + type FormItem struct + DbType string + Default interface{} + DisableCreate bool + DisableDelete bool + Disabled bool + EditorType interface{} + Equations string + Extra string + File struct{ ... } + FormId uint64 + FormType string + GeographicOption interface{} + GridSearch struct{ ... } + HasEquation bool + HasTranslation bool + HasUserID bool + Hidden bool + ID string + Identity string + Ifshowhide string + IsFkey bool + IsGridSearch bool + Key string + Label string + MinHeight string + Model string + Name string + Options []interface{} + Parent string + PasswordOption interface{} + PlaceHolder string + Prefix string + Relation struct{ ... } + Rules []struct{ ... } + Schema []FormItem + SchemaID string + ShowRowNumber bool + Span struct{ ... } + SubType string + Table string + TableTypeColumn string + TableTypeValue string + Title string + Trigger string + TriggerTimeout int + Type string + UseTableType bool + type Formula struct + Form string + Model string + Targets []struct{ ... } + Template string + type SCHEMA struct + Formula []Formula + Identity string + LabelPosition string + LabelWidth interface{} + Model string + Padding int + Schema []FormItem + SordOrder string + SortField string + Timestamp bool + Triggers struct{ ... } + UI interface{} + Width string + type SCHEMAGRID struct + ActionPosition int + Actions []string + ColFilterButton bool + ColMenu bool + ColumnAggregations []map[string]string + ColumnAggregationsFormula []interface{} + Condition string + EditFullRow bool + EditableAction interface{} + EditableShouldSubmit bool + Filter []interface{} + FlashChanges bool + Formula []interface{} + FullText bool + FullWidth bool + HasCheckbox bool + Header struct{ ... } + Identity string + IsClient bool + IsContextMenu bool + IsExcel bool + IsNumbered bool + IsPivot bool + IsPrint bool + IsRefresh bool + IsView bool + MainTable string + Model string + Paging int + PrintSize string + Schema []struct{ ... } + ShowGrid bool + SingleClickEdit bool + SoftDelete bool + SordOrder string + Sort string + SortOrder string + StaticWidth bool + Template int + Theme string + Triggers struct{ ... } + Width int + type TableMeta struct + DbType string + Extra string + Key string + Model string + Table string + Title string + func TableMetas(tableName string) []TableMeta + type VBSCHEMA struct + TableList []string + TableMeta map[string][]TableMeta + ViewList []string + func GenerateSchema() VBSCHEMA + func GetDBSchema() VBSCHEMA