Versions in this module Expand all Collapse all v0 v0.1.1 Apr 17, 2026 v0.1.0 Apr 16, 2026 Changes in this version + func DefaultLimit(limit int) int + func JSONToMarkdown(data interface{}) (string, error) + func ValidateRegex(fl validator.FieldLevel) bool + type Filter struct + Field string + Operator FilterOperator + Value interface{} + type FilterOperator string + const OpEqual + const OpGt + const OpGte + const OpIn + const OpLike + const OpLt + const OpLte + const OpNotIn + type QueryOption func(*gorm.DB) *gorm.DB + func WithArchived(archived int64) QueryOption + func WithCode(code string) QueryOption + func WithFilters(filters ...Filter) QueryOption + func WithId(id int64) QueryOption + func WithMcId(mcId int64) QueryOption + func WithName(name string) QueryOption + func WithPhone(phone string) QueryOption + func WithStatus(status int64) QueryOption + func WithTitle(title string) QueryOption + func WithType(t int64) QueryOption + func WithUserId(uid int64) QueryOption