From b8049e9cb2f56d2a924696e0484f93f10d0f1e24 Mon Sep 17 00:00:00 2001 From: songzhibin97 <718428482@qq.com> Date: Wed, 15 Sep 2021 18:06:07 +0800 Subject: [PATCH] fix:style --- server/core/viper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core/viper.go b/server/core/viper.go index 60ce695a..bfd2d70a 100644 --- a/server/core/viper.go +++ b/server/core/viper.go @@ -58,7 +58,7 @@ func Viper(path ...string) *viper.Viper { } global.GVA_CONFIG.AutoCode.Root, _ = filepath.Abs("..") global.BlackCache = local_cache.NewCache( - local_cache.SetDefaultExpire(time.Second * time.Duration(global.GVA_CONFIG.JWT.ExpiresTime)) - ) + local_cache.SetDefaultExpire(time.Second * time.Duration(global.GVA_CONFIG.JWT.ExpiresTime)), + ) return v }