1 2 3 4 5 6 7 8 9 10 11
// +build redis package base import ( _ "github.com/gogits/cache/redis" ) func init() { EnableRedis = true }