From 361134f8ddea8ad692a0d7f5f9a3f2c082e897f1 Mon Sep 17 00:00:00 2001 From: yaziming Date: Mon, 2 Sep 2019 22:57:29 +0800 Subject: [PATCH] Remove redundant fmt.Println --- backend/database/redis.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/database/redis.go b/backend/database/redis.go index d159cccd..ede229a2 100644 --- a/backend/database/redis.go +++ b/backend/database/redis.go @@ -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,