Prepare for v0.3.0 release
parent
660b47373d
commit
de01f81489
@ -0,0 +1,11 @@
|
|||||||
|
// +build memcache
|
||||||
|
|
||||||
|
package base
|
||||||
|
|
||||||
|
import (
|
||||||
|
_ "github.com/gogits/cache/memcache"
|
||||||
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
EnableMemcache = true
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
// +build redis
|
||||||
|
|
||||||
|
package base
|
||||||
|
|
||||||
|
import (
|
||||||
|
_ "github.com/gogits/cache/redis"
|
||||||
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
EnableRedis = true
|
||||||
|
}
|
Loading…
Reference in New Issue