(key string)
| 88 | } |
| 89 | |
| 90 | func (c *RedisCache) GetString(key string) (string, error) { |
| 91 | return c.redisClient.Get(context.TODO(), key).Result() |
| 92 | } |
| 93 | |
| 94 | func (c *RedisCache) HGetString(key, field string) (string, error) { |
| 95 | return c.redisClient.HGet(context.TODO(), key, field).Result() |
no test coverage detected