This commit is contained in:
564104865
2021-11-03 15:16:07 +08:00
parent 5707763758
commit 7971177c58

View File

@ -12,7 +12,7 @@ type Redis struct {
redis *gredis.Redis
}
// newAdapterMemory creates and returns a new memory cache object.
// NewRedis creates and returns a new redis memory cache object.
func NewRedis(redis *gredis.Redis) Adapter {
return &Redis{
redis: redis,