From 6ffb6fb99c58fdb346a2ecd3dfb8f8d1a372cf2c Mon Sep 17 00:00:00 2001 From: lixiaoshuang <644968328@qq.com> Date: Sun, 19 Dec 2021 16:50:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0mysql=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/config.go b/common/config.go index 1eeb246..b177786 100644 --- a/common/config.go +++ b/common/config.go @@ -109,10 +109,10 @@ func checkConfig() error { if Config.Store.Port == 0 { return errors.New("Db port not valid ") } - if Config.Store.User == ""{ + if Config.Store.User == "" { return errors.New("Db user not valid ") } - if Config.Store.Password == ""{ + if Config.Store.Password == "" { return errors.New("Db password not valid ") } }