Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parameter ¶
type Parameter struct { Filters map[string]string Preloads string Sort string Limit int Page int LastID int Order string IsLastID bool }
Parameter struct
func NewParameter ¶
NewParameter returns *Parameter or error
func (*Parameter) FilterFields ¶
FilterFields returns *gorm.DB with filtering
func (*Parameter) GetRawFilterQuery ¶
GetRawFilterQuery returns string to filter
Click to show internal directories.
Click to hide internal directories.