mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-01 03:08:02 +08:00
13 lines
151 B
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
|
|
}
|