Versions in this module Expand all Collapse all v1 v1.0.1 Feb 8, 2024 v1.0.0 Feb 8, 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, size int, columnNames string) *Page + 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 + Page int + Size int + Sort string + func (p *Params) ConvertToGormConditions() (string, []interface{}, error) + func (p *Params) ConvertToPage() (order string, limit int, offset int)