1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 07:50:39 +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

@ -5,6 +5,8 @@ import (
"errors"
"github.com/beego/memcache"
"github.com/astaxie/beego/cache"
)
// Memcache adapter.
@ -147,5 +149,5 @@ func (rc *MemcacheCache) connectInit() (*memcache.Connection, error) {
}
func init() {
Register("memcache", NewMemCache())
cache.Register("memcache", NewMemCache())
}