mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 03:11:51 +01:00
12 lines
151 B
Go
12 lines
151 B
Go
// +build redis
|
|
|
|
package base
|
|
|
|
import (
|
|
_ "github.com/gogits/cache/redis"
|
|
_ "github.com/gogits/session/redis"
|
|
)
|
|
|
|
func init() {
|
|
EnableRedis = true
|
|
}
|