mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 21:16:26 +01: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
 | 
						|
}
 |