package cache
import (
"fmt"
cache "github.com/patrickmn/go-cache"
"time"
)
var DefaultCache = cache.New(12*time.Hour, 1*time.Hour)
func KeyCompanyUser(companyId int, userId int) string {
return fmt.Sprintf("local:cache:user:%d:%d", companyId, userId)
}