Versions in this module Expand all Collapse all v1 v1.0.7 Nov 22, 2021 v1.0.6 Nov 22, 2021 Changes in this version + const DateBegin + const DateEnd + const DateFormat + const DefaultSafeTime + const RoleAnchor + const RoleNormal + const TimeFormat + var ErrNotFound = sqlx.ErrNotFound + func NewCacheProvider(c cache.CacheConf, opts ...cache.Option) cache.Cache + type CacheBitmapResultUser struct + Count uint64 + ExpiredAt time.Time + UidBitMap []byte + type CacheResultUser struct + ExpiredAt time.Time + Uids []uint64 + type CachedConn struct + func (c *CachedConn) GetCacheProvider() cache.Cache + type DateType int32 + func ParserDateType(ty int32) DateType + type QueryMap struct + Channel string + Date string + Day int + Role string + Type DateType + type UserDayLogin struct + Count int64 + CreatedAt time.Time + Date time.Time + Id int64 + IsAnchor int64 + IsNewer int64 + LastActivityAt time.Time + StartActivityAt time.Time + Uid int64 + UpdatedAt time.Time + UserClass int64 + type UserDayLoginModel interface + Delete func(id int64) error + FindOne func(id int64) (*UserDayLogin, error) + GetUserArr func(queryMap QueryMap) ([][]uint64, error) + GetUserBitMapArr func(queryMap QueryMap) ([]*roaring64.Bitmap, error) + Insert func(data UserDayLogin) (sql.Result, error) + Update func(data UserDayLogin) error + func NewUserDayLoginModel(conn sqlx.SqlConn, table string, c cache.CacheConf, cnf config.Config) UserDayLoginModel v1.0.5 Nov 22, 2021