Remove redundant fmt.Println

This commit is contained in:
yaziming
2019-09-02 22:57:29 +08:00
parent 10c3488caf
commit 361134f8dd

View File

@@ -1,7 +1,6 @@
package database
import (
"fmt"
"github.com/gomodule/redigo/redis"
"github.com/spf13/viper"
"runtime/debug"
@@ -94,7 +93,6 @@ func NewRedisPool() *redis.Pool {
} else {
url = "redis://x:" + password + "@" + address + ":" + port + "/" + database
}
fmt.Println(url)
return &redis.Pool{
Dial: func() (conn redis.Conn, e error) {
return redis.DialURL(url,