gitroast/modules/base/base_redis.go

13 lines
151 B
Go

// +build redis
package base
import (
_ "github.com/gogits/cache/redis"
_ "github.com/gogits/session/redis"
)
func init() {
EnableRedis = true
}