You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
265 B

package redishandle
import "context"
func (c *RedisClient) Del(ctx context.Context, key string) error {
return c.Client.Del(ctx, key).Err()
}
func (c *RedisClient) DelBatch(ctx context.Context, keys ...string) error {
return c.Client.Del(ctx, keys...).Err()
}