fix logger,cache
This commit is contained in:
2
cache/redis/redis.go
vendored
2
cache/redis/redis.go
vendored
@@ -20,6 +20,7 @@ type RedisClient struct {
|
||||
DB int
|
||||
Client *cacheRedis.Client
|
||||
Ctx context.Context
|
||||
memory map[string]any
|
||||
}
|
||||
|
||||
func New(dsn string, hashRadix string) *RedisClient {
|
||||
@@ -54,6 +55,7 @@ func New(dsn string, hashRadix string) *RedisClient {
|
||||
DB: db,
|
||||
Client: client,
|
||||
Ctx: context.Background(),
|
||||
memory: make(map[string]any),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user