Commit ec5c62f8 by huangchengyi

no message

parent 578ce9ad
Showing with 5 additions and 0 deletions
......@@ -32,6 +32,11 @@ func Setup() (err error) {
return nil
}
//格式化成字符串
func String( a interface{},err error) (string,error) {
return redis.String(a,err)
}
func getConn(writeHost, password string) (pool *redis.Pool, err error) {
maxIdle, _ := config.Get("redis.max_idle").Int()
maxActive, _ := config.Get("redis.max_active").Int()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment