Versions in this module Expand all Collapse all v0 v0.1.2 May 2, 2025 v0.1.1 Apr 22, 2025 Changes in this version + const RBACStatisticObjectName + var RBACStatisticObject = acl.RBACType + func WithGroup(fields ...Key) *repository.GroupOption + type Condition struct + Key Key + Op Operation + Value []any + func (cond *Condition) PrepareQuery(query *gorm.DB) *gorm.DB + type Filter struct + Conditions []*Condition + EndDate time.Time + StartDate time.Time + func (fl *Filter) PrepareQuery(query *gorm.DB) *gorm.DB + type Key string + const KeyAppID + const KeyBrowserID + const KeyCarrierID + const KeyCountry + const KeyDatemark + const KeyDeviceID + const KeyDeviceType + const KeyDomain + const KeyFormatID + const KeyIP + const KeyLanguage + const KeyOsID + const KeyPlatformType + const KeySourceID + const KeyTimemark + const KeyUndefined + const KeyZoneID + func (key Key) String() string + type ListOrder struct + func (ol *ListOrder) PrepareQuery(query *gorm.DB) *gorm.DB + type Operation int32 + const ConditionBetween + const ConditionEq + const ConditionGt + const ConditionGtEq + const ConditionIn + const ConditionIsNotNull + const ConditionIsNull + const ConditionLike + const ConditionLt + const ConditionLtEq + const ConditionNotBetween + const ConditionNotEq + const ConditionNotIn + const ConditionNotLike + const ConditionUndefined + type Option = repository.QOption + type Options = repository.ListOptions + type Repository interface + Count func(ctx context.Context, opts ...Option) (int64, error) + Statistic func(ctx context.Context, opts ...Option) ([]*models.StatisticAdItem, error) + type Usecase interface + Count func(ctx context.Context, opts ...Option) (int64, error) + Statistic func(ctx context.Context, opts ...Option) ([]*models.StatisticAdItem, error)