Versions in this module Expand all Collapse all v1 v1.16.2 Sep 23, 2026 Changes in this version + var ErrCacheNotFound = goredis.ErrRedisNotFound + var ErrRecordNotFound = sgorm.ErrRecordNotFound + func CloseDB() error + func CloseRedis() error + func GetDB() *sgorm.DB + func GetRedisCli() *goredis.Client + func InitCache(cType string) + func InitDB() + func InitMysql() *sgorm.DB + func InitPostgresql() *sgorm.DB + func InitRedis() + func InitSqlite() *sgorm.DB + type CacheType struct + CType string + Rdb *goredis.Client + func GetCacheType() *CacheType