Versions in this module Expand all Collapse all v0 v0.2.0 Jun 2, 2023 v0.1.9 Jun 2, 2023 Changes in this version + func MakeCondition(q interface{}) func(db *gorm.DB) *gorm.DB + func OrderDest(sort string, bl bool) func(db *gorm.DB) *gorm.DB + func Paginate(pageSize, pageIndex int) func(db *gorm.DB) *gorm.DB + type AutoForm struct + Disabled bool + Fields []Field + FormBtns bool + FormModel string + FormRef string + FormRules string + Gutter int + LabelPosition string + LabelWidth int + Size string + Span int + type Config struct + ButtonText string + ChangeTag bool + DefaultValue interface{} + Document string + FileSize int + FormId int + Label string + LabelWidth interface{} + Layout string + RegList []interface{} + RenderKey int64 + Required bool + ShowLabel bool + ShowTip bool + SizeUnit string + Span int + Tag string + TagIcon string + type Control interface + Bind func(ctx *gin.Context) error + Generate func() Control + GenerateM func() (models.ActiveRecord, error) + GetId func() interface{} + type Field struct + Accept string + Action string + AutoUpload bool + Clearable bool + Config Config + Disabled bool + Filterable bool + ListType string + Maxlength interface{} + Multiple bool + Name string + Placeholder string + PrefixIcon string + Readonly bool + ShowWordLimit bool + Slot Slot + Style Style + SuffixIcon string + VModel string + type GeneralDelDto struct + Id int + Ids []int + func (g GeneralDelDto) GetIds() []int + type GeneralGetDto struct + Id int + type Index interface + Bind func(ctx *gin.Context) error + Generate func() Index + GetNeedSearch func() interface{} + GetPageIndex func() int + GetPageSize func() int + type ObjectById struct + Id int + Ids []int + func (s *ObjectById) Bind(ctx *gin.Context) error + func (s *ObjectById) GetId() interface{} + type ObjectDeleteReq struct + Ids []int + func (s *ObjectDeleteReq) Bind(ctx *gin.Context) error + func (s *ObjectDeleteReq) GetId() interface{} + type ObjectGetReq struct + Id int + func (s *ObjectGetReq) Bind(ctx *gin.Context) error + func (s *ObjectGetReq) GetId() interface{} + type Option struct + Label string + Value string + type Pagination struct + PageIndex int + PageSize int + func (m *Pagination) GetPageIndex() int + func (m *Pagination) GetPageSize() int + type Slot struct + Append string + ListType bool + Options []Option + Prepend string + type Style struct + Width string