Versions in this module Expand all Collapse all v0 v0.1.3 Jul 8, 2026 Changes in this version + const ElementComponentCascader + const ElementComponentDatePicker + const ElementComponentDateRangePicker + const ElementComponentDateTimePicker + const ElementComponentDateTimeRangePicker + const ElementComponentInput + const ElementComponentSelect + const WhereEQ + const WhereEse + const WhereEst + const WhereFs + const WhereGe + const WhereGt + const WhereIn + const WhereLe + const WhereLike + const WhereLt + const WhereTse + const WhereTst + type DataOrigin interface + Create func(req request.CRUDRequest) (id interface{}, err error) + Delete func(req request.CRUDRequest) (id interface{}, err error) + GetById func(req request.CRUDRequest) (data map[string]interface{}, err error) + Page func(req request.CRUDRequest) (data []map[string]interface{}, count int64, pageSize int64, err error) + UpdateById func(req request.CRUDRequest) (id interface{}, err error) + type ElOption struct + Options func() string + Props string + SearchType uint8 + Type uint8 + type Engine struct + func NewEngine(absolutePath string, opt Options) *Engine + func (e *Engine) AddField(filed ...Field) *Engine + func (e *Engine) AddMiddleware(m ...gin.HandlerFunc) *Engine + func (e *Engine) Register() + func (e *Engine) RegisterDeleteHandler(relativePath string, handlerFunc gin.HandlerFunc) *Engine + func (e *Engine) RegisterGetHandler(relativePath string, handlerFunc gin.HandlerFunc) *Engine + func (e *Engine) RegisterPatchHandler(relativePath string, handlerFunc gin.HandlerFunc) *Engine + func (e *Engine) RegisterPostHandler(relativePath string, handlerFunc gin.HandlerFunc) *Engine + type Field struct + Column string + DefaultValueFunc func() string + EditAble bool + ElOption ElOption + FormatFunc func(value, originValue interface{}) interface{} + Hide bool + Name string + SortAble bool + TranslateFunc func() map[string]string + Type string + type Options struct + CustomDataOrigin DataOrigin + DbName string + HideCreateBtn bool + HideDeleteBtn bool + HideEditBtn bool + OrderBy string + PK string + SoftDelete string + TableName string