From 963792355013e9e89904a67352312ab3d9acf7f6 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 02 十一月 2023 14:02:05 +0800 Subject: [PATCH] 优化重构 --- core/viper.go | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/core/viper.go b/core/viper.go index e3dd24c..ba71628 100644 --- a/core/viper.go +++ b/core/viper.go @@ -5,14 +5,12 @@ "fmt" "github.com/gin-gonic/gin" "os" - "path/filepath" "srm/core/internal" "github.com/fsnotify/fsnotify" "github.com/spf13/viper" "srm/global" - _ "srm/packfile" ) // Viper // @@ -68,7 +66,5 @@ fmt.Println(err) } - // root 閫傞厤鎬� 鏍规嵁root浣嶇疆鍘绘壘鍒板搴旇縼绉讳綅缃�,淇濊瘉root璺緞鏈夋晥 - global.GVA_CONFIG.AutoCode.Root, _ = filepath.Abs("..") return v } -- Gitblit v1.8.0