1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 08:00:40 +00:00

beego: fix dependency of cache / session sub package

This commit is contained in:
slene
2014-04-04 08:31:22 +08:00
parent acbdeb62e8
commit f4d62d3193
8 changed files with 53 additions and 39 deletions

View File

@ -6,6 +6,8 @@ import (
"time"
"github.com/beego/redigo/redis"
"github.com/astaxie/beego/cache"
)
var (
@ -130,5 +132,5 @@ func (rc *RedisCache) connectInit() {
}
func init() {
Register("redis", NewRedisCache())
cache.Register("redis", NewRedisCache())
}