func (r *MemRepo) Save(key string, value string) error {
	r.c.Set(key, value, cache.DefaultExpiration)
	return nil
}
Save stores a new value for a key in the k/v store
package store
import (
	"fmt"
	"time"
	cache "github.com/patrickmn/go-cache"
)
type MemRepo struct {
	c *cache.Cache
}
func NewMemRepository(expiration, expiredPurge int) (*MemRepo, error) {
	return &MemRepo{
		c: cache.New(time.Duration(expiration)*time.Minute, time.Duration(expiredPurge)*time.Minute),
	}, nil
}