You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
151 B

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