Versions in this module Expand all Collapse all v1 v1.0.0 May 8, 2023 Changes in this version + const GeneralSumKey + func QueryStructConditional(db *gorm.DB, search interface{}, list interface{}, sum interface{}, ...) (err error) + type BaseCondition struct + Desc *bool + OrderKey *string + Page *int + Pagesize *int + type GeneralResult struct + List []map[string]interface{} + Sum map[string]interface{} + Total int64 + func QueryGeneralConditional(db *gorm.DB, search map[string]interface{}, ...) (gr GeneralResult, err error)