Versions in this module Expand all Collapse all v1 v1.0.10 Aug 25, 2024 v1.0.9 Aug 25, 2024 v1.0.8 Aug 25, 2024 v1.0.7 Aug 25, 2024 v1.0.6 Aug 25, 2024 v1.0.5 Aug 25, 2024 v1.0.4 Aug 25, 2024 v1.0.3 Aug 24, 2024 v1.0.2 Aug 24, 2024 v1.0.1 Aug 24, 2024 Changes in this version + const AND + const Eq + const Gt + const Gte + const In + const Like + const Lt + const Lte + const Neq + const OR + func SetMaxSize(max int) + type Column struct + Exp string + Logic string + Name string + Value interface{} + type Conditions struct + Columns []Column + func (c *Conditions) CheckValid() error + func (c *Conditions) ConvertToGorm() (string, []interface{}, error) + type Page struct + func DefaultPage(page int) *Page + func NewPage(page int, limit int, columnNames string) *Page + func (p *Page) Limit() int + func (p *Page) Offset() int + func (p *Page) Page() int + func (p *Page) Size() int + func (p *Page) Sort() string + type Params struct + Columns []Column + Limit int + Page int + Size int + Sort string + func (p *Params) ConvertToGormConditions() (string, []interface{}, error) + func (p *Params) ConvertToPage() (order string, limit int, offset int) v1.0.0 Aug 24, 2024